diff options
-rw-r--r-- | bin/bbackupd/BackupDaemon.cpp | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/bin/bbackupd/BackupDaemon.cpp b/bin/bbackupd/BackupDaemon.cpp index 8f68ff1a..ad8d2868 100644 --- a/bin/bbackupd/BackupDaemon.cpp +++ b/bin/bbackupd/BackupDaemon.cpp @@ -10,6 +10,7 @@ #include "Box.h" #include <stdio.h> +#include <stdlib.h> #include <string.h> #ifdef HAVE_UNISTD_H @@ -888,7 +889,8 @@ void BackupDaemon::Run2() } else { - // Unset the read error flag, so the // error is reported again if it + // Unset the read error flag, so the + // error is reported again if it // happens again mNotificationsSent[NotifyEvent_ReadError] = false; } @@ -1014,6 +1016,13 @@ void BackupDaemon::Run2() doSyncForcedByPreviousSyncError = true; } } + else + { + // Unset the read error flag, so the + // error is reported again if it + // happens again + mNotificationsSent[NotifyEvent_BackupError] = false; + } // Log the stats BOX_NOTICE("File statistics: total file size uploaded " |