From: Kern Sibbald Date: Sun, 11 Oct 2009 09:30:46 +0000 (+0200) Subject: Eliminate possible false error message X-Git-Tag: Release-5.0.0~285^2~14 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=01c4fef8391ab8de84f85f072dc57156d39af75a;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