From 59a6949b40431143b163e081430656cbe8cc7d60 Mon Sep 17 00:00:00 2001 From: Kern Sibbald Date: Fri, 3 Sep 2010 17:42:39 +0200 Subject: [PATCH] Attempt to eliminate waiting on Storage message during restore --- bacula/src/stored/read.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bacula/src/stored/read.c b/bacula/src/stored/read.c index e154f801d0..fc61193b9b 100644 --- a/bacula/src/stored/read.c +++ b/bacula/src/stored/read.c @@ -1,7 +1,7 @@ /* Bacula® - The Network Backup Solution - Copyright (C) 2000-2009 Free Software Foundation Europe e.V. + Copyright (C) 2000-2010 Free Software Foundation Europe e.V. The main author of Bacula is Kern Sibbald, with contributions from many others, a complete list can be found in the file AUTHORS. @@ -30,7 +30,6 @@ * * Kern Sibbald, November MM * - * Version $Id$ */ #include "bacula.h" @@ -79,6 +78,7 @@ bool do_read_data(JCR *jcr) /* Tell File daemon we will send data */ fd->fsend(OK_data); + set_jcr_job_status(jcr, JS_Running); ok = read_records(dcr, record_cb, mount_next_read_volume); /* Send end of data to FD */ -- 2.39.5