projects
/
tinc
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
07980b0
)
tincctl restart should work even if no tincd is running.
author
Guus Sliepen
<guus@tinc-vpn.org>
Wed, 1 Aug 2012 13:15:37 +0000
(15:15 +0200)
committer
Guus Sliepen
<guus@tinc-vpn.org>
Wed, 1 Aug 2012 13:15:37 +0000
(15:15 +0200)
src/tincctl.c
patch
|
blob
|
history
diff --git
a/src/tincctl.c
b/src/tincctl.c
index
1cdcf58
..
188db92
100644
(file)
--- a/
src/tincctl.c
+++ b/
src/tincctl.c
@@
-738,7
+738,8
@@
static int cmd_stop(int argc, char *argv[]) {
}
static int cmd_restart(int argc, char *argv[]) {
- return cmd_stop(argc, argv) ?: cmd_start(argc, argv);
+ cmd_stop(argc, argv);
+ return cmd_start(argc, argv);
}
static int cmd_reload(int argc, char *argv[]) {