fixed concatenation of flags + caps
[util-vserver.git] / util-vserver / scripts / vserver.start
index 8553bdd..dbc5ca4 100644 (file)
 # along with this program; if not, write to the Free Software
 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
 
-lock "$LOCKDIR"/vserver."$(echo "$VSERVER_DIR" | tr -dc a-zA-Z0-9)".startup
+
+lock "$LOCKDIR"/vserver."$($_VSERVER_INFO "$VSERVER_DIR" CANONIFY)".startup
 
 if isVserverRunning "$VSERVER_DIR"; then
-    echo $"vserver '$VSERVER_NAME' already running; aborting..." >&2
-    exit 1
+    warning $"vserver '$VSERVER_NAME' already running"
+    exit 0
 fi
 
 function cleanup()