From 63a3369cbc41ba68e221da174c28f5f909c2ed8d Mon Sep 17 00:00:00 2001 From: Guus Sliepen Date: Tue, 27 Mar 2018 22:54:15 +0200 Subject: [PATCH] Warn if we cannot reload the tincd when creating an invitation. --- src/invitation.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/invitation.c b/src/invitation.c index 4a262a82..c059ca3c 100644 --- a/src/invitation.c +++ b/src/invitation.c @@ -414,8 +414,10 @@ int cmd_invite(int argc, char *argv[]) { fclose(f); - if(connect_tincd(false)) { + if(connect_tincd(true)) { 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); -- 2.20.1