From: Guus Sliepen Date: Thu, 5 Sep 2013 12:50:10 +0000 (+0200) Subject: Exit value 1 instead of a random non-zero value. X-Git-Tag: release-1.1pre9~8 X-Git-Url: https://tinc-vpn.org/git/browse?a=commitdiff_plain;h=09b5a3c02057fe9448c4e9494a99c93a61f98280;p=tinc Exit value 1 instead of a random non-zero value. --- diff --git a/src/tincctl.c b/src/tincctl.c index 6e7965c2..a6673901 100644 --- a/src/tincctl.c +++ b/src/tincctl.c @@ -1606,7 +1606,7 @@ static int cmd_config(int argc, char *argv[]) { if(action < 0 && !removed) { remove(tmpfile); fprintf(stderr, "No configuration variables deleted.\n"); - return *value; + return *value != 0; } // Replace the configuration file with the new one