]> git.sur5r.net Git - bacula/bacula/blobdiff - bacula/platforms/suse/bacula-fd.in
Backport copyright changes
[bacula/bacula] / bacula / platforms / suse / bacula-fd.in
index c14dd2e9c1c99f8bf8a7f526becf48ca96ccf3f4..6bfdf3371661b47e3aed8e1037de7509bc575eaa 100755 (executable)
@@ -1,5 +1,8 @@
 #! /bin/sh
 #
+# Copyright (C) Kern Sibbald 2000-2015
+# License: BSD 2-Clause
+#
 # bacula       This shell script takes care of starting and stopping
 #             the bacula File daemon.
 #
@@ -25,6 +28,7 @@
 # this gives us funtion rc_status -v to tell us if we succeed or fail
 . /etc/rc.status
 
+RETVAL=0
 case "$1" in
     start)
        echo -n "Starting the Bacula File daemon: "
@@ -46,6 +50,7 @@ case "$1" in
        $0 stop
        sleep 5
        $0 start
+       RETVAL=$?
        ;;
     status)
        /sbin/checkproc @sbindir@/bacula-fd