Fix sys_clone usage on sparc and s390, sparc returns parent pid in
[util-vserver.git] / scripts / vserver
index 006e7f7..84166e9 100755 (executable)
@@ -208,7 +208,7 @@ case "$2" in
        $cmd "$@"
        ;;
     (condrestart)
-       test ! isVserverRunning "$VSERVER_DIR" || restart
+       ! isVserverRunning "$VSERVER_DIR" || restart
        ;;
     (exec)
        shift 2
@@ -271,7 +271,7 @@ case "$2" in
        fi
        ;;
     (*)
-       echo $"Usage: $0 {start|stop|suexec|restart|condrestart|exec|enter|chkconfig|running|status}" >&2
+       echo $"Usage: $0 <vserver> {start|stop|suexec|restart|condrestart|exec|enter|chkconfig|running|status}" >&2
        exit 2
        ;;
 esac