diff options
author | Daniel Baumann <mail@daniel-baumann.ch> | 2016-11-25 10:25:53 +0000 |
---|---|---|
committer | Daniel Baumann <mail@daniel-baumann.ch> | 2016-11-25 10:25:53 +0000 |
commit | 68fb1d466b4dce1f0a8806adfe750d5948234906 (patch) | |
tree | 0142813dd882e4be7d0955037118d9ffa0572910 /lib/container/limit | |
parent | Adding upstream version 20161122. (diff) | |
download | open-infrastructure-compute-tools-upstream/20161125.tar.xz open-infrastructure-compute-tools-upstream/20161125.zip |
Adding upstream version 20161125.upstream/20161125
Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
Diffstat (limited to 'lib/container/limit')
-rwxr-xr-x | lib/container/limit | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/container/limit b/lib/container/limit index 8b5ffd5..a9882c9 100755 --- a/lib/container/limit +++ b/lib/container/limit @@ -24,10 +24,10 @@ MACHINES="/var/lib/machines" Parameters () { - LONG_OPTIONS="name:,blockio-device-weight:,blockio-read-bandwith:,blockio-weight:,blockio-write-bandwith:,cpu-quota:,cpu-shares:,memory-limit:,tasks-max:," - OPTIONS="n:b:c:m:t:," + GETOPT_LONGOPTIONS="name:,blockio-device-weight:,blockio-read-bandwith:,blockio-weight:,blockio-write-bandwith:,cpu-quota:,cpu-shares:,memory-limit:,tasks-max:," + GETOPT_OPTIONS="n:b:c:m:t:," - PARAMETERS="$(getopt --longoptions ${LONG_OPTIONS} --name=${COMMAND} --options ${OPTIONS} --shell sh -- ${@})" + PARAMETERS="$(getopt --longoptions ${GETOPT_LONGOPTIONS} --name=${COMMAND} --options ${GETOPT_OPTIONS} --shell sh -- ${@})" if [ "${?}" != "0" ] then |