From c0ea11d48d9bf2c27ab89c41012a00b206b6bbf0 Mon Sep 17 00:00:00 2001 From: Daniel Hokka Zakrisson Date: Tue, 25 Sep 2012 19:02:50 +0200 Subject: [PATCH] Single opt, no array --- scripts/vserver.functions | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/vserver.functions b/scripts/vserver.functions index 7c038c9..77ca912 100644 --- a/scripts/vserver.functions +++ b/scripts/vserver.functions @@ -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[@]}" ) } -- 1.8.1.5