summaryrefslogtreecommitdiff
path: root/bin/bbackupd/bbackupd.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'bin/bbackupd/bbackupd.cpp')
-rw-r--r--bin/bbackupd/bbackupd.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/bin/bbackupd/bbackupd.cpp b/bin/bbackupd/bbackupd.cpp
index d334a2df..bb64f745 100644
--- a/bin/bbackupd/bbackupd.cpp
+++ b/bin/bbackupd/bbackupd.cpp
@@ -41,12 +41,13 @@ int main(int argc, const char *argv[])
ExitCode = gpDaemonService->Daemon::Main(
BOX_GET_DEFAULT_BBACKUPD_CONFIG_FILE,
argc, argv);
- delete gpDaemonService;
+ delete gpDaemonService;
#else // !WIN32
BackupDaemon daemon;
- ExitCode = daemon.Main(BOX_FILE_BBACKUPD_DEFAULT_CONFIG, argc, argv);
+ ExitCode = daemon.Main(BOX_GET_DEFAULT_BBACKUPD_CONFIG_FILE,
+ argc, argv);
#endif // WIN32