summaryrefslogtreecommitdiffstats
path: root/lib/container/start
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/start
parentAdding upstream version 20161122. (diff)
downloadopen-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 '')
-rwxr-xr-xlib/container/start6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/container/start b/lib/container/start
index 5191ae2..20d738e 100755
--- a/lib/container/start
+++ b/lib/container/start
@@ -28,10 +28,10 @@ SYSTEMCTL="true"
Parameters ()
{
- LONG_OPTIONS="name:,force,nspawn,start,"
- OPTIONS="n:f,"
+ GETOPT_LONGOPTIONS="name:,force,nspawn,start,"
+ GETOPT_OPTIONS="n:f,"
- 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