projects
/
tinc
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1ce0f76
)
Unconditionally return non-zero exit code when "tinc del" does not find the requested...
author
Guus Sliepen
<guus@tinc-vpn.org>
Sun, 15 Jun 2014 10:19:10 +0000
(12:19 +0200)
committer
Guus Sliepen
<guus@tinc-vpn.org>
Sun, 15 Jun 2014 10:19:10 +0000
(12:19 +0200)
src/tincctl.c
patch
|
blob
|
history
diff --git
a/src/tincctl.c
b/src/tincctl.c
index
73b998a
..
9fc749b
100644
(file)
--- a/
src/tincctl.c
+++ b/
src/tincctl.c
@@
-1626,7
+1626,7
@@
static int cmd_config(int argc, char *argv[]) {
if(action < 0 && !removed) {
remove(tmpfile);
fprintf(stderr, "No configuration variables deleted.\n");
- return
*value != 0
;
+ return
1
;
}
// Replace the configuration file with the new one