]> git.sur5r.net Git - bacula/bacula/commitdiff
don't reset bstat, rstat, dstat in stop_bacula
authorEric Bollengier <eric@eb.homelinux.org>
Mon, 3 Aug 2009 08:59:20 +0000 (10:59 +0200)
committerEric Bollengier <eric@eb.homelinux.org>
Mon, 3 Aug 2009 14:39:55 +0000 (16:39 +0200)
regress/scripts/functions

index fe1b9630be7c76c8443ecd84eede99261876f4db..fa7d6f01106b922064d9265cd1bc9f699320d65a 100644 (file)
@@ -27,6 +27,10 @@ start_test()
    echo " === Starting $TestName at `date +%R:%S` ===" >> ${working}/log
    echo " "
    export zstat
+   zstat=0
+   bstat=0
+   rstat=0
+   dstat=0
 }
 
 require_root()
@@ -213,10 +217,6 @@ bscan_libdbi()
 stop_bacula()
 {
    ${bin}/bacula stop 2>&1 >/dev/null
-   zstat=0
-   bstat=0
-   rstat=0
-   dstat=0
 }
 
 check_for_zombie_jobs()