Single opt, no array
authorDaniel Hokka Zakrisson <daniel@hozac.com>
Tue, 25 Sep 2012 17:02:50 +0000 (19:02 +0200)
committerDaniel Hokka Zakrisson <daniel@hozac.com>
Tue, 25 Sep 2012 17:02:50 +0000 (19:02 +0200)
scripts/vserver.functions

index 7c038c9..77ca912 100644 (file)
@@ -469,7 +469,7 @@ function _generateChcontextOptions
     OPTS_VCONTEXT_CREATE=( $SILENT_OPT \
                           ${ctx:+--xid "$ctx"} )
     findFile file "$vdir"/keepfds "$__CONFDIR/.defaults/keepfds" ""
-    test -n "$file" || OPT_VCONTEXT_CLOSE_FD=( "--closefd" )
+    test -n "$file" || OPT_VCONTEXT_CLOSE_FD="--closefd"
     ## put '--secure' at front so that it can be overridden
     OPTS_VATTRIBUTE=( --secure --flag default "${OPTS_VATTRIBUTE[@]}" )
 }