]> git.pld-linux.org Git - packages/bnc.git/commitdiff
- catch $RETVAL
authorElan Ruusamäe <glen@pld-linux.org>
Sun, 6 Feb 2005 03:50:43 +0000 (03:50 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    bnc.init -> 1.2

bnc.init

index c20299eb8a048da81ba21a4da7a8b09733e6d195..53f04343f5e9fc67381c5b511e30c7fa2d992243 100755 (executable)
--- a/bnc.init
+++ b/bnc.init
@@ -48,6 +48,7 @@ case "$1" in
                msg_starting "$MSG"
                start-stop-daemon --start --pidfile $PIDFILE --chuid bnc \
                        --chdir /etc/bnc --exec /usr/bin/bnc -- bnc.conf > /dev/null
+               RETVAL=$?
                # take or leave it, but rc=7 is successful exit code in bnc
                [ $RETVAL = 7 ] && RETVAL=0
 
This page took 0.050358 seconds and 4 git commands to generate.