git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@4917 
91ce42f0-d328-0410-95d8-
f526ca767f89
 
 cat tmp/bconcmds | bin/bconsole -c bin/bconsole.conf > /dev/null
 stop_bacula
 
-export dstat=0
-export bstat=0
-export rstat=0
+dstat=0
+bstat=0
+rstat=0
+export dstat
+export bstat
+export rstat
 
 if grep -q 'dir: BeforeJob: run command "/bin/echo RunBeforeJob"'          tmp/RUN_ALL_OK.log   &&
    grep -q 'fd: ClientRunBeforeJob: ClientRunBeforeJob'                    tmp/RUN_ALL_OK.log   &&
    rstat=1
 fi
 
-end_test
\ No newline at end of file
+end_test