X-Git-Url: https://tinc-vpn.org/git/browse?p=tinc;a=blobdiff_plain;f=src%2Finvitation.c;h=c059ca3c2ca31d562f684851c0df8e2e98789145;hp=4a262a82ab862042ff49496fe9c6f20b153ddfe4;hb=63a3369cbc41ba68e221da174c28f5f909c2ed8d;hpb=2d268fc06bc01419e7f7f32d4da1b560e72e4ad3 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);