]> git.sur5r.net Git - bacula/bacula/commitdiff
ebl Fix a bug in read_close_session which return random status
authorEric Bollengier <eric@eb.homelinux.org>
Fri, 24 Aug 2007 07:08:07 +0000 (07:08 +0000)
committerEric Bollengier <eric@eb.homelinux.org>
Fri, 24 Aug 2007 07:08:07 +0000 (07:08 +0000)
git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@5400 91ce42f0-d328-0410-95d8-f526ca767f89

bacula/src/stored/fd_cmds.c
bacula/technotes-2.3

index a120fd689b6ff9af074c5376e11eaa91ee8621f2..8bbddbcd31bfd836d68ed3dcc0ede23b1ed25685 100644 (file)
@@ -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 */
index 30360e6578b90db024859cac77854428f47c867a..7c6f3a12cc0702a263db13492cea4df49a1912ad 100644 (file)
@@ -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.