summaryrefslogtreecommitdiffstats
path: root/utility
diff options
context:
space:
mode:
authorGravatar Edward Rudd 2009-03-15 01:40:56 +0000
committerGravatar Edward Rudd 2009-03-15 01:40:56 +0000
commit6a4d9bbe760de40b60634c46c0dc6f3c310b819f (patch)
tree874f859c1371fd08a2f5cad0ac49180b93350334 /utility
parentb8790b1b48c238f2ba266e34625b8e8f5db0ad6e (diff)
don't exit upon failure to connect to DB in a thread.. just exit the thread.
Diffstat (limited to 'utility')
-rw-r--r--utility/shell.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/utility/shell.c b/utility/shell.c
index 0fea741..78ab1b7 100644
--- a/utility/shell.c
+++ b/utility/shell.c
@@ -281,7 +281,7 @@ void * APR_THREAD_FUNC run_filethread(apr_thread_t *thd, void *data)
281 if (!cfg->dryrun) { 281 if (!cfg->dryrun) {
282 if ((rv = database_connect(cfg, &dbconn))) { 282 if ((rv = database_connect(cfg, &dbconn))) {
283 logging_log(cfg,LOGLEVEL_NOISE, "Error Connecting to Database"); 283 logging_log(cfg,LOGLEVEL_NOISE, "Error Connecting to Database");
284 exit(1); 284 return NULL;
285 } 285 }
286 } 286 }
287 287