projects
/
tinc
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2d268fc
)
Warn if we cannot reload the tincd when creating an invitation.
author
Guus Sliepen
<guus@tinc-vpn.org>
Tue, 27 Mar 2018 20:54:15 +0000
(22:54 +0200)
committer
Guus Sliepen
<guus@tinc-vpn.org>
Tue, 27 Mar 2018 20:54:15 +0000
(22:54 +0200)
src/invitation.c
patch
|
blob
|
history
diff --git
a/src/invitation.c
b/src/invitation.c
index
4a262a8
..
c059ca3
100644
(file)
--- a/
src/invitation.c
+++ b/
src/invitation.c
@@
-414,8
+414,10
@@
int cmd_invite(int argc, char *argv[]) {
fclose(f);
- if(connect_tincd(
fals
e)) {
+ if(connect_tincd(
tru
e)) {
sendline(fd, "%d %d", CONTROL, REQ_RELOAD);
+ } else {
+ fprintf(stderr, "Could not signal the tinc daemon. Please restart or reload it manually.\n");
}
} else {
key = ecdsa_read_pem_private_key(f);