diff options
Diffstat (limited to 'recipes/ulogd/files/init')
-rw-r--r-- | recipes/ulogd/files/init | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/recipes/ulogd/files/init b/recipes/ulogd/files/init index 75cb408ab5..460955bd1a 100644 --- a/recipes/ulogd/files/init +++ b/recipes/ulogd/files/init @@ -25,7 +25,7 @@ case "$1" in echo -n "Starting $NAME: " start-stop-daemon --start --quiet --make-pidfile --pidfile "${PIDFILE}" --background --exec ${DAEMON} -- -c ${CONFIG} RET=$? - if [ "$?" == "0" ]; then + if [ "$?" = "0" ]; then echo "done." else echo "FAILED!" @@ -40,7 +40,7 @@ case "$1" in echo -n "ulogd " start-stop-daemon -q -K -t -x $DAEMON RET=$? - if [ "$RET" == "0" ]; then + if [ "$RET" = "0" ]; then PID=`cat $PIDFILE` echo "($PID) is running" else |