Changeset 2498 for box/trunk/lib/server/Daemon.cpp
- Timestamp:
- 10/04/2009 00:05:28 (3 years ago)
- File:
-
- 1 edited
-
box/trunk/lib/server/Daemon.cpp (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
box/trunk/lib/server/Daemon.cpp
r2480 r2498 337 337 { 338 338 mConfigFileName = argv[optind]; optind++; 339 mHaveConfigFile = true; 339 340 } 340 341 … … 376 377 try 377 378 { 379 if (!FileExists(rConfigFileName.c_str())) 380 { 381 BOX_FATAL("The main configuration file for " << 382 DaemonName() << " was not found: " << 383 rConfigFileName); 384 if (!mHaveConfigFile) 385 { 386 BOX_WARNING("The default configuration " 387 "directory has changed from /etc/box " 388 "to /etc/boxbackup"); 389 } 390 return false; 391 } 392 378 393 apConfig = Configuration::LoadAndVerify(rConfigFileName, 379 394 GetConfigVerify(), errors);
Note: See TracChangeset
for help on using the changeset viewer.
