]> git.sur5r.net Git - bacula/bacula/blobdiff - regress/scripts/check_for_zombie_jobs
ebl Add tests for bpipe on win32
[bacula/bacula] / regress / scripts / check_for_zombie_jobs
index d35a5ffc37c3abd454aa57f1b26c31f4dbba8c22..b1f689ee202d98410659b1ef2c71cfd3c8552c40 100755 (executable)
@@ -4,19 +4,21 @@
 # Also scan logs for ERROR messages
 #
 
+. ./config         
+
 # check_for_zombie_jobs storage=STORAGE [client=localhost-fd]
 
 if [ $# = 2 ] ; then
     client="$2"
 else 
-    client="client"
+    client=${HOST}-fd
 fi
 
 bin/bconsole -c bin/bconsole.conf <<END_OF_DATA 2>&1 >/dev/null
 @output tmp/dir.out
 status dir
 @output tmp/fd.out
-status $client
+status client=${client}
 @output tmp/sd.out
 status $1
 @output