]> git.sur5r.net Git - bacula/bacula/blobdiff - regress/scripts/check_for_zombie_jobs
Backport from BEE
[bacula/bacula] / regress / scripts / check_for_zombie_jobs
index e2c240565b090c0b1912658a3f037680cd4edbda..2b1802a2e8c8efcf5616b4ca6fc91ffa5a7dd5d7 100755 (executable)
@@ -56,6 +56,16 @@ if [ $? != 0 ] ; then
   zstat=1
   exit 1
 fi
+grep " READ " ${tmp}/sd.out 2>&1 >/dev/null
+if [ $? = 0 ]; then
+  echo " "
+  echo "  !!!! Zombie \"Read\" Jobs in Storage daemon !!!!"
+  echo "  !!!! Zombie \"Read\" Jobs in Storage daemon !!!!" >>test.out
+  cat ${tmp}/sd.out
+  echo " "
+  zstat=1
+  exit 1
+fi
 grep "ERROR" ${tmp}/log*.out 2>&1 >/dev/null
 if [ $? = 0 ] ; then
   echo " "