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:
ef5e8b6
)
Return non-zero exit code when "tinc get" does not find the requested variable.
author
Guus Sliepen
<guus@tinc-vpn.org>
Sun, 15 Jun 2014 10:14:01 +0000
(12:14 +0200)
committer
Guus Sliepen
<guus@tinc-vpn.org>
Sun, 15 Jun 2014 10:14:01 +0000
(12:14 +0200)
src/tincctl.c
patch
|
blob
|
history
diff --git
a/src/tincctl.c
b/src/tincctl.c
index 7a3195e58f5d3c8e998fb11896b54a4c0dd54d64..73b998a586c73f2a697d1740c17e4cb6b60df8c0 100644
(file)
--- a/
src/tincctl.c
+++ b/
src/tincctl.c
@@
-1613,7
+1613,7
@@
static int cmd_config(int argc, char *argv[]) {
if(action < -1) {
if(!found)
fprintf(stderr, "No matching configuration variables found.\n");
- return
0
;
+ return
1
;
}
// Make sure we wrote everything...