From: Guus Sliepen Date: Sun, 5 Jul 2015 12:42:18 +0000 (+0200) Subject: Return non-zero exit code when encountering configuration errors during startup. X-Git-Tag: release-1.0.26~8 X-Git-Url: https://tinc-vpn.org/git/browse?a=commitdiff_plain;h=5046dbd40c7cc572b84f28412723934bf392cb0d;p=tinc Return non-zero exit code when encountering configuration errors during startup. --- 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'},