Call vserver-build with --debug too, if it was specified.
authorDaniel Hokka Zakrisson <daniel@hozac.com>
Fri, 24 Nov 2006 15:20:42 +0000 (15:20 +0000)
committerDaniel Hokka Zakrisson <daniel@hozac.com>
Fri, 24 Nov 2006 15:20:42 +0000 (15:20 +0000)
git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2399 94cd875c-1c1d-0410-91d2-eb244daf1a30

scripts/vserver

index 2895098..74e1da2 100755 (executable)
@@ -153,7 +153,8 @@ SELF=( "$0" "${OPTION_ALL[@]}" )
 vserver=$1
 cmd=$2
 
-test "$cmd" != build || { shift 2; exec $_VNAMESPACE --new -- "$_VSERVER_BUILD" -n "$vserver" "$@"; }
+test "$cmd" != build || { shift 2; exec $_VNAMESPACE --new --
+    "$_VSERVER_BUILD" $OPTION_DEBUG -n "$vserver" "$@"; }
 
 
 allow_legacy=