projects
/
oweals
/
tinc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bdbb710
)
Exit value 1 instead of a random non-zero value.
author
Guus Sliepen
<guus@tinc-vpn.org>
Thu, 5 Sep 2013 12:50:10 +0000
(14:50 +0200)
committer
Guus Sliepen
<guus@tinc-vpn.org>
Thu, 5 Sep 2013 12:50:10 +0000
(14:50 +0200)
src/tincctl.c
patch
|
blob
|
history
diff --git
a/src/tincctl.c
b/src/tincctl.c
index 6e7965c291b4ff95f62575cd442ac1e9ad918216..a6673901c89c1552bc559117faa79b7dec5508e0 100644
(file)
--- 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