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

boxbackup-dev@fluffy.co.uk boxbackup-dev@fluffy.co.uk
Sat, 10 Feb 2007 01:11:55 +0000


Author: chris
Date: 2007-02-10 01:11:55 +0000 (Sat, 10 Feb 2007)
New Revision: 1283

Modified:
   box/chris/general/bin/bbackupd/bbackupd.cpp
Log:
Don't close the logging socket until we're really finished with it.


Modified: box/chris/general/bin/bbackupd/bbackupd.cpp
===================================================================
--- box/chris/general/bin/bbackupd/bbackupd.cpp	2007-02-10 01:10:06 UTC (rev 1282)
+++ box/chris/general/bin/bbackupd/bbackupd.cpp	2007-02-10 01:11:55 UTC (rev 1283)
@@ -89,10 +89,10 @@
 			BOX_FILE_BBACKUPD_DEFAULT_CONFIG, argc, argv);
 	}
 
+	delete gpDaemonService;
+
 	::closelog();
 
-	delete gpDaemonService;
-
 	return ExitCode;
 
 #else // !WIN32