diff options
Diffstat (limited to 'src/lxc/lxc-setuid.in')
-rw-r--r-- | src/lxc/lxc-setuid.in | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lxc/lxc-setuid.in b/src/lxc/lxc-setuid.in index 86d7d4a..b1bbfff 100644 --- a/src/lxc/lxc-setuid.in +++ b/src/lxc/lxc-setuid.in @@ -81,9 +81,9 @@ if [ $? != 0 ]; then exit 1 fi -set -- $(getopt dh $*) +set -- $(getopt dh "$@") -for i in $*; do +for i in "$@"; do case "$1" in -d) LXC_DROP_CAPS="yes" @@ -108,4 +108,4 @@ if [ -z "$LXC_DROP_CAPS" ]; then lxc_setuid else lxc_dropuid -fi
\ No newline at end of file +fi |