Ignore:
Timestamp:
May 17, 2014, 6:14:22 PM (11 years ago)
Author:
alloc
Message:

Minor cleanups

File:
1 edited

Legend:

Unmodified
Added
Removed
  • scripts/usr/local/bin/7dtd-start.sh

    r14 r16  
    1515checkInstanceValid $1
    1616
    17 res=$(isRunning $1)
    18 if [ $res -eq 0 ]; then
     17if [ $(isRunning $1) -eq 0 ]; then
    1918        if [ ! `pgrep Xvfb` ]; then
    2019                echo "Xvfb not yet running. Starting..."
     
    3130        start-stop-daemon --start $SSD_PID $SSD_DAEMON $SSD_USER --chdir $SDTD_ROOT --exec $WINE -- $SDTD_ROOT/7DaysToDie.exe $OPTS > $(getInstancePath $1)/stdout.log 2>&1
    3231        sleep 1
    33         res=$(isRunning $1)
    34         if [ $res -eq 1 ]; then
     32        if [ $(isRunning $1) -eq 1 ]; then
    3533                echo "Done!"
    3634                exit 0
Note: See TracChangeset for help on using the changeset viewer.