summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--accel-pppd/extra/pppd_compat.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/accel-pppd/extra/pppd_compat.c b/accel-pppd/extra/pppd_compat.c
index 56dba5e9..318327e8 100644
--- a/accel-pppd/extra/pppd_compat.c
+++ b/accel-pppd/extra/pppd_compat.c
@@ -454,8 +454,8 @@ static void ev_radius_coa(struct ev_radius_t *ev)
check_fork_limit(pd, &queue1);
sigchld_lock();
- pid = fork();
- if (pid > 0) {
+ pid = fork();
+ if (pid > 0) {
pd->hnd.pid = pid;
pd->hnd.handler = ip_change_handler;
sigchld_register_handler(&pd->hnd);