aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/starter/starter.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/starter/starter.c b/src/starter/starter.c
index fb44cad26..0cec936c3 100644
--- a/src/starter/starter.c
+++ b/src/starter/starter.c
@@ -450,6 +450,7 @@ int main (int argc, char **argv)
{
int fnull;
+ close_log();
closefrom(3);
fnull = open("/dev/null", O_RDWR);
@@ -462,6 +463,7 @@ int main (int argc, char **argv)
}
setsid();
+ init_log("ipsec_starter");
}
break;
case -1: