From: Kern Sibbald Date: Sun, 1 Nov 2009 14:52:57 +0000 (+0100) Subject: Get regress bacula stop messages when debug on X-Git-Tag: Release-5.0.0~281^2~12 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=d19132c25a9b5346320632f1953f58c576fe1aa9;p=bacula%2Fbacula Get regress bacula stop messages when debug on --- diff --git a/regress/scripts/functions b/regress/scripts/functions index 845a3903cf..db2b58bf3b 100644 --- a/regress/scripts/functions +++ b/regress/scripts/functions @@ -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()