]> git.sur5r.net Git - bacula/bacula/commitdiff
Set job status to running when restore job really starts
authorKern Sibbald <kern@sibbald.com>
Wed, 11 Jan 2012 10:27:41 +0000 (11:27 +0100)
committerKern Sibbald <kern@sibbald.com>
Sat, 20 Apr 2013 12:50:27 +0000 (14:50 +0200)
bacula/src/dird/restore.c

index a04e1ac3bdef119c05c01f741092b1c5d546159d..0a8945afd9f2770d3c097bb7e963bbce2ab09149 100644 (file)
@@ -394,7 +394,7 @@ bool restore_bootstrap(JCR *jcr)
          fd = jcr->file_bsock;
       }
 
-      jcr->setJobStatus(JS_WaitSD);
+      jcr->setJobStatus(JS_Running);
 
       /*
        * Send the bootstrap file -- what Volumes/files to restore