Changeset 477


Ignore:
Timestamp:
02/22/08 12:03:58 (16 years ago)
Author:
bastiaans
Message:

pkg/deb/init.d/jobmond:

  • removed "return"
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/pkg/deb/init.d/jobmond

    r453 r477  
    1818        echo -n "Starting $DESC: "
    1919        start-stop-daemon --start --quiet --pidfile /var/run/$NAME.pid \
    20                 --exec $DAEMON -- --pidfile "$PIDFILE" $OPTIONS || { echo "start failed."; return 0; }
     20                --exec $DAEMON -- --pidfile "$PIDFILE" $OPTIONS || { rm -f "$PIDFILE"; echo "start failed." }
    2121        echo "$NAME."
    2222        ;;
     
    2424        echo -n "Stopping $DESC: "
    2525        start-stop-daemon --stop  --quiet --pidfile /var/run/$NAME.pid \
    26                 --signal 9 2>&1 > /dev/null || { rm -f "$PIDFILE"; echo "not running."; return 0; }
     26                --signal 9 2>&1 > /dev/null || { rm -f "$PIDFILE"; echo "not running." }
    2727        echo "$NAME."
    2828        rm -f "$PIDFILE"
Note: See TracChangeset for help on using the changeset viewer.