]> git.sur5r.net Git - bacula/bacula/commitdiff
Send back updated jobs status from FD
authorKern Sibbald <kern@sibbald.com>
Fri, 3 Sep 2010 17:33:48 +0000 (19:33 +0200)
committerKern Sibbald <kern@sibbald.com>
Mon, 13 Sep 2010 11:05:14 +0000 (13:05 +0200)
bacula/src/stored/fd_cmds.c
bacula/src/stored/read.c

index f2a822f546bc702edcbd57e7c3f7513b073bb9a4..110a6bf6594035ff1c3e9cc0d586d95e1a3c7460 100644 (file)
@@ -36,7 +36,6 @@
  *  the File daemon, control is passed here to handle the
  *  subsequent File daemon commands.
  *
- *   Version $Id$
  *
  */
 
index e154f801d076fc1814803f9995f42d7e0c8368ee..4ac2a7d9661837abbfbc34622ccaaa612c092155 100644 (file)
@@ -79,6 +79,8 @@ bool do_read_data(JCR *jcr)
 
    /* Tell File daemon we will send data */
    fd->fsend(OK_data);
+   set_jcr_job_status(jcr, JS_Running);
+   dir_send_job_status(jcr);
    ok = read_records(dcr, record_cb, mount_next_read_volume);
 
    /* Send end of data to FD */