summaryrefslogtreecommitdiffstats
path: root/src/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/main.c b/src/main.c
index 3cf44ba..33235e9 100644
--- a/src/main.c
+++ b/src/main.c
@@ -246,10 +246,8 @@ int main(int argc, char *argv[])
/*
* Setting up logging
*/
- if (config_set && init_log() == -1) {
- fprintf(stderr, "can't open logfile `%s\n'", CONFIG(logfile));
+ if (config_set && init_log() == -1)
exit(EXIT_FAILURE);
- }
if (type == REQUEST) {
if (do_local_request(action, &conf.local, local_step) == -1) {