From 01c4fef8391ab8de84f85f072dc57156d39af75a Mon Sep 17 00:00:00 2001 From: Kern Sibbald Date: Sun, 11 Oct 2009 11:30:46 +0200 Subject: [PATCH] Eliminate possible false error message --- regress/scripts/cleanup | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 -- 2.39.5