X-Git-Url: http://git.linux-vserver.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=util-vserver%2Fscripts%2Fvserver.start;h=3973e1a8bbfa9ed939eb502480c7028551cb83da;hb=c379a190b0c8f633c6daca9586cc44b5bc4f4c28;hp=0e1333155bf3fdfcbcfeea3869d78e9115fd414b;hpb=7a6aff490e0219374b59047c1e29322d3deff914;p=util-vserver.git diff --git a/util-vserver/scripts/vserver.start b/util-vserver/scripts/vserver.start index 0e13331..3973e1a 100644 --- a/util-vserver/scripts/vserver.start +++ b/util-vserver/scripts/vserver.start @@ -22,9 +22,10 @@ fi function cleanup() { + test "$OPTION_DEBUG" || exec 2>/dev/null >/dev/null test -z "$is_started" || return 0 - test -z "$is_mounted" || umountVserver "$VSERVER_DIR" &>/dev/null || : - test -z "$have_interfaces" || disableInterfaces "$VSERVER_DIR" &>/dev/null || : + test -z "$is_mounted" || umountVserver "$VSERVER_DIR" || : + test -z "$have_interfaces" || disableInterfaces "$VSERVER_DIR" || : } is_started=