From: Guus Sliepen Date: Sun, 8 Dec 2013 20:31:50 +0000 (+0100) Subject: Give full path to unconfigured tinc-up script. X-Git-Tag: release-1.1pre10~28 X-Git-Url: https://git.tinc-vpn.org/git/browse?a=commitdiff_plain;h=c151cfa2e978e92c1e5394bfcc8b41c6155f8436;p=tinc Give full path to unconfigured tinc-up script. --- diff --git a/src/tincctl.c b/src/tincctl.c index a986af76..83efc935 100644 --- a/src/tincctl.c +++ b/src/tincctl.c @@ -1777,7 +1777,7 @@ static int cmd_init(int argc, char *argv[]) { fprintf(stderr, "Could not create file %s: %s\n", filename, strerror(errno)); return 1; } - fprintf(f, "#!/bin/sh\n\necho 'Unconfigured tinc-up script, please edit!'\n\n#ifconfig $INTERFACE netmask \n"); + fprintf(f, "#!/bin/sh\n\necho 'Unconfigured tinc-up script, please edit '$0'!'\n\n#ifconfig $INTERFACE netmask \n"); fclose(f); } #endif