projects
/
tinc
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4314df6
)
fix check in cmd_pid() for failure to connect to tincd
author
Sean McVeigh
<sean@vger.beerbot.ca>
Sat, 21 May 2016 21:38:14 +0000
(17:38 -0400)
committer
Sean McVeigh
<sean@vger.beerbot.ca>
Sat, 21 May 2016 21:38:14 +0000
(17:38 -0400)
src/tincctl.c
patch
|
blob
|
history
diff --git
a/src/tincctl.c
b/src/tincctl.c
index
39a11d3
..
9f9df6f
100644
(file)
--- a/
src/tincctl.c
+++ b/
src/tincctl.c
@@
-1391,7
+1391,7
@@
static int cmd_pid(int argc, char *argv[]) {
return 1;
}
- if(!connect_tincd(true)
&&
!pid)
+ if(!connect_tincd(true)
||
!pid)
return 1;
printf("%d\n", pid);