From: Kern Sibbald Date: Sun, 11 Oct 2009 09:30:46 +0000 (+0200) Subject: Eliminate possible false error message X-Git-Tag: Release-7.0.0~2602^2~14 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=21ea398f6df75afca94f184bd28842b0afced396;p=bacula%2Fbacula Eliminate possible false error message --- diff --git a/regress/scripts/cleanup b/regress/scripts/cleanup index bccd1ea9cd..c262dc8aa9 100755 --- a/regress/scripts/cleanup +++ b/regress/scripts/cleanup @@ -18,7 +18,9 @@ find . -name "gigaslam.gif" -exec rm -f {} \; # bin directory does not always exist if [ -d ${bin} ] ; then - ${bin}/bacula stop 2>&1 >/dev/null + if [ -f ${bin}/bacula ] ; then + ${bin}/bacula stop 2>&1 >/dev/null + fi cd ${scripts} ./drop_bacula_tables >/dev/null 2>&1 ./make_bacula_tables >/dev/null 2>&1