]> git.sur5r.net Git - bacula/bacula/blobdiff - bacula/scripts/bacula.in
Restructure tree.c + misc
[bacula/bacula] / bacula / scripts / bacula.in
index bfcafbbd9d9ba6e15aa2405920e94fc8d27f5fd5..9f3b21070e32a0da08aa73f437d77af71a3302db 100755 (executable)
@@ -112,7 +112,7 @@ pidofproc() {
 
     # First try PID file
     if [ -f ${PIDDIR}/$base.$2.pid ] ; then
-       pid=`head -1 ${PIDDIR}/$base.$2.pid`
+       pid=`head -1 ${PIDDIR}/$base.$2.pid`
        if [ "$pid" != "" ] ; then
            echo $pid
            return 0
@@ -163,7 +163,7 @@ status() {
 
     # Next try the PID files
     if [ -f ${PIDDIR}/$base.$2.pid ] ; then
-       pid=`head -1 ${PIDDIR}/$base.$2.pid`
+       pid=`head -1 ${PIDDIR}/$base.$2.pid`
        if [ "$pid" != "" ] ; then
            echo "$base dead but pid file exists"
            return 1