[Box Backup-commit] COMMIT r1980 - box/chris/general/bin/bbackupd

boxbackup-dev at fluffy.co.uk boxbackup-dev at fluffy.co.uk
Sun Dec 9 01:33:58 GMT 2007


Author: chris
Date: 2007-12-09 01:33:58 +0000 (Sun, 09 Dec 2007)
New Revision: 1980

Modified:
   box/chris/general/bin/bbackupd/BackupDaemon.cpp
Log:
Fix crash when notifyscript is called for BackupStart or BackupFinish.
(merges [1862])


Modified: box/chris/general/bin/bbackupd/BackupDaemon.cpp
===================================================================
--- box/chris/general/bin/bbackupd/BackupDaemon.cpp	2007-12-09 01:13:05 UTC (rev 1979)
+++ box/chris/general/bin/bbackupd/BackupDaemon.cpp	2007-12-09 01:33:58 UTC (rev 1980)
@@ -2369,10 +2369,11 @@
 		return;
 	}
 
-	// Is there a notifation script?
+	// Is there a notification script?
 	const Configuration &conf(GetConfiguration());
 	if(!conf.KeyExists("NotifyScript"))
 	{
+		// Log, and then return
 		if(Event != NotifyEvent_BackupStart &&
 			Event != NotifyEvent_BackupFinish)
 		{




More information about the Boxbackup-commit mailing list