summaryrefslogtreecommitdiffstats
path: root/lib/container/console
diff options
context:
space:
mode:
authorDaniel Baumann <mail@daniel-baumann.ch>2016-11-25 10:25:53 +0000
committerDaniel Baumann <mail@daniel-baumann.ch>2016-11-25 10:25:53 +0000
commit68fb1d466b4dce1f0a8806adfe750d5948234906 (patch)
tree0142813dd882e4be7d0955037118d9ffa0572910 /lib/container/console
parentAdding upstream version 20161122. (diff)
downloadopen-infrastructure-compute-tools-c31960042b198662485ec10356198cd6c96d975a.tar.xz
open-infrastructure-compute-tools-c31960042b198662485ec10356198cd6c96d975a.zip
Adding upstream version 20161125.upstream/20161125
Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
Diffstat (limited to 'lib/container/console')
-rwxr-xr-xlib/container/console6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/container/console b/lib/container/console
index 84c561d..ab3dfaf 100755
--- a/lib/container/console
+++ b/lib/container/console
@@ -24,10 +24,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