From: Alan T. DeKok Date: Sat, 6 Sep 2008 12:16:43 +0000 (+0200) Subject: Kill children only if we have children X-Git-Tag: release_2_1_1~126 X-Git-Url: http://www.project-moonshot.org/gitweb/?a=commitdiff_plain;h=429fd061f0861b5be5cd8754e51a193df5025bbd;p=freeradius.git Kill children only if we have children --- diff --git a/src/main/radiusd.c b/src/main/radiusd.c index 49dfef0..ffb7c6a 100644 --- a/src/main/radiusd.c +++ b/src/main/radiusd.c @@ -412,7 +412,7 @@ int main(int argc, char *argv[]) * ignored.) */ #ifndef __MINGW32__ - kill(-radius_pid, SIGTERM); + if (spawn_flag) kill(-radius_pid, SIGTERM); #endif /*