From: Guus Sliepen Date: Sun, 15 Jul 2012 19:15:35 +0000 (+0200) Subject: Fix tincctl start. X-Git-Tag: release-1.1pre3~110 X-Git-Url: https://tinc-vpn.org/git/browse?a=commitdiff_plain;h=36dee4c539521578005eed5e58b4803b73f0c889;p=tinc Fix tincctl start. --- diff --git a/src/tincctl.c b/src/tincctl.c index b2a6561f..c1654186 100644 --- a/src/tincctl.c +++ b/src/tincctl.c @@ -655,6 +655,9 @@ static bool connect_tincd() { static int cmd_start(int argc, char *argv[]) { int i, j; char *c; + + argc += optind; + argv -= optind; char *slash = strrchr(argv[0], '/'); #ifdef HAVE_MINGW