From 6a4d9bbe760de40b60634c46c0dc6f3c310b819f Mon Sep 17 00:00:00 2001 From: Edward Rudd Date: Sun, 15 Mar 2009 01:40:56 +0000 Subject: don't exit upon failure to connect to DB in a thread.. just exit the thread. --- utility/shell.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'utility') 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) if (!cfg->dryrun) { if ((rv = database_connect(cfg, &dbconn))) { logging_log(cfg,LOGLEVEL_NOISE, "Error Connecting to Database"); - exit(1); + return NULL; } } -- cgit