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://git.librecmc.org/?a=commitdiff_plain;h=5046dbd40c7cc572b84f28412723934bf392cb0d;p=oweals%2Ftinc.git Return non-zero exit code when encountering configuration errors during startup. --- diff --git a/src/tincd.c b/src/tincd.c index fda20c4..c3cae5d 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'},