From: Guus Sliepen Date: Tue, 27 Mar 2018 20:54:15 +0000 (+0200) Subject: Warn if we cannot reload the tincd when creating an invitation. X-Git-Tag: release-1.1pre16~8 X-Git-Url: https://git.tinc-vpn.org/git/browse?a=commitdiff_plain;h=63a3369cbc41ba68e221da174c28f5f909c2ed8d;p=tinc Warn if we cannot reload the tincd when creating an invitation. --- 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);