Return non-zero exit code when encountering configuration errors during startup.
[oweals/tinc.git] / src / tincd.c
index fda20c4b4086a5d7d9260bd1d6db9ccbaf310e1b..c3cae5dbd89f2055f68064516de6a2440aeec4ee 100644 (file)
@@ -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'},