]> git.sur5r.net Git - bacula/bacula/commitdiff
Get regress bacula stop messages when debug on
authorKern Sibbald <kern@sibbald.com>
Sun, 1 Nov 2009 14:52:57 +0000 (15:52 +0100)
committerKern Sibbald <kern@sibbald.com>
Sun, 1 Nov 2009 14:52:57 +0000 (15:52 +0100)
regress/scripts/functions

index 845a3903cfacea07eee442eb9a00e2dfcec324cf..db2b58bf3b2a14d42621e9590bb3fdfe27628672 100644 (file)
@@ -216,7 +216,11 @@ bscan_libdbi()
 
 stop_bacula()
 {
-   ${bin}/bacula stop 2>&1 >/dev/null
+   if test "$debug" -eq 1 ; then
+      ${bin}/bacula stop
+   else
+      ${bin}/bacula stop 2>&1 >/dev/null
+   fi
 }
 
 check_for_zombie_jobs()