From 70fff10e63960128cd3af5c459a3788dbd1ea6ec Mon Sep 17 00:00:00 2001 From: Eric Bollengier Date: Fri, 24 Aug 2007 07:08:07 +0000 Subject: [PATCH] ebl Fix a bug in read_close_session which return random status git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@5400 91ce42f0-d328-0410-95d8-f526ca767f89 --- bacula/src/stored/fd_cmds.c | 2 +- bacula/technotes-2.3 | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/bacula/src/stored/fd_cmds.c b/bacula/src/stored/fd_cmds.c index a120fd689b..8bbddbcd31 100644 --- a/bacula/src/stored/fd_cmds.c +++ b/bacula/src/stored/fd_cmds.c @@ -399,7 +399,7 @@ static bool read_close_session(JCR *jcr) return false; } /* Send final statistics to File daemon */ - bnet_fsend(fd, OK_close); + bnet_fsend(fd, OK_close, jcr->JobStatus); Dmsg1(160, ">filed: %s\n", fd->msg); bnet_sig(fd, BNET_EOD); /* send EOD to File daemon */ diff --git a/bacula/technotes-2.3 b/bacula/technotes-2.3 index 30360e6578..7c6f3a12cc 100644 --- a/bacula/technotes-2.3 +++ b/bacula/technotes-2.3 @@ -1,6 +1,9 @@ Technical notes on version 2.3 General: +24Aug07 +ebl Fix a bug in read_close_session which return random status + thanks to James Harper 23Aug07 kes Fix (hopefully) bug #930 by doing a db_escape_string() on file and directory names during restore of single file/directories. -- 2.39.5