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:
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 1cdcf586a2556511e8e1b27558b29f4080b1b02e..188db9222a18e14c5ef73ea1a8bc2cb6a18241b8 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[]) {