From 5046dbd40c7cc572b84f28412723934bf392cb0d Mon Sep 17 00:00:00 2001 From: Guus Sliepen Date: Sun, 5 Jul 2015 14:42:18 +0200 Subject: [PATCH 1/1] Return non-zero exit code when encountering configuration errors during startup. --- src/tincd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tincd.c b/src/tincd.c index fda20c4b..c3cae5db 100644 --- a/src/tincd.c +++ b/src/tincd.c @@ -97,7 +97,7 @@ char *pidfilename = NULL; /* pid file location */ char *logfilename = NULL; /* log file location */ char **g_argv; /* a copy of the cmdline arguments */ -static int status; +static int status = 1; static struct option const long_options[] = { {"config", required_argument, NULL, 'c'}, -- 2.20.1