aboutsummaryrefslogtreecommitdiffstats
path: root/src/starter/starter.c
diff options
context:
space:
mode:
authorTobias Brunner <tobias@strongswan.org>2013-07-22 17:59:49 +0200
committerTobias Brunner <tobias@strongswan.org>2013-07-22 18:00:19 +0200
commit517823b4667947546a0ff0bdee0e8f9eb24e307d (patch)
treeb76dd894fc156fb0163c3677ca2f7654232bff8d /src/starter/starter.c
parent62293ed27116e816fb38451c2d0ecf7f6b39e508 (diff)
downloadstrongswan-517823b4667947546a0ff0bdee0e8f9eb24e307d.tar.bz2
strongswan-517823b4667947546a0ff0bdee0e8f9eb24e307d.tar.xz
starter: Properly refer to the ipsec script if it was renamed
Diffstat (limited to 'src/starter/starter.c')
-rw-r--r--src/starter/starter.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/starter/starter.c b/src/starter/starter.c
index 9620fb63a..06eb142bd 100644
--- a/src/starter/starter.c
+++ b/src/starter/starter.c
@@ -295,7 +295,7 @@ static void generate_selfcert()
#endif
ignore_result(setegid(gid));
ignore_result(seteuid(uid));
- ignore_result(system("ipsec scepclient --out pkcs1 --out cert-self --quiet"));
+ ignore_result(system(IPSEC_SCRIPT " scepclient --out pkcs1 --out cert-self --quiet"));
ignore_result(seteuid(0));
ignore_result(setegid(0));