summaryrefslogtreecommitdiffstats
path: root/lib/container/status
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@open-infrastructure.net>2016-11-25 07:40:47 +0000
committerDaniel Baumann <daniel.baumann@open-infrastructure.net>2016-11-25 10:21:12 +0000
commit8c4610ee9c13b338acde1d42406dca8d97f6c193 (patch)
treed7cb8cbda8af738e06e6a1b77a4c98edbc82dad9 /lib/container/status
parentReleasing version 20161122. (diff)
downloadcompute-tools-8c4610ee9c13b338acde1d42406dca8d97f6c193.tar.xz
compute-tools-8c4610ee9c13b338acde1d42406dca8d97f6c193.zip
Renaming too generic internal getopt variables to avoid possible collisions in the future.
Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
Diffstat (limited to 'lib/container/status')
-rwxr-xr-xlib/container/status6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/container/status b/lib/container/status
index b797c98..65a7210 100755
--- a/lib/container/status
+++ b/lib/container/status
@@ -25,10 +25,10 @@ MACHINES="/var/lib/machines"
Parameters ()
{
- LONG_OPTIONS="name:,"
- OPTIONS="n:,"
+ GETOPT_LONGOPTIONS="name:,"
+ GETOPT_OPTIONS="n:,"
- 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