use $(LIBENSCVECTOR) instead of libensc_vector.a
[util-vserver.git] / util-vserver / scripts / vserver-wrapper
index c210a33..ccbd2e1 100755 (executable)
@@ -22,7 +22,7 @@ test -e "$UTIL_VSERVER_VARS" || {
 }
 . "$UTIL_VSERVER_VARS"
 
-test "$MARK" || MARK=default
+test -n "$MARK" || MARK=default
 : ${LOCKFILE:=vservers-$MARK}
 : ${NUMPARALLEL:=6}
 
@@ -66,7 +66,7 @@ function stop()
     $_START_VSERVERS -m "$MARK" -j "$NUMPARALLEL" --all --stop
     _tellResult $?
     local rc=$?
-    rm -f "$lockfile"
+    $_RM -f "$lockfile"
     return $rc
 }