X-Git-Url: https://www.tinc-vpn.org/git/browse?a=blobdiff_plain;ds=sidebyside;f=src%2Ftincctl.c;fp=src%2Ftincctl.c;h=a6673901c89c1552bc559117faa79b7dec5508e0;hb=09b5a3c02057fe9448c4e9494a99c93a61f98280;hp=6e7965c291b4ff95f62575cd442ac1e9ad918216;hpb=bdbb710060bef4b3ec63f5592e4def57a4817bd9;p=tinc 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