From a609b2f787bab1189de6b4096d144d60b62c7c66 Mon Sep 17 00:00:00 2001 From: Thomas Lamprecht Date: Tue, 20 Nov 2018 10:07:33 +0100 Subject: [PATCH] fork_worker: readd the kill safety for _exit again to be sure, plus we have this in other places too here, so be consistent and double safe(tm) Signed-off-by: Thomas Lamprecht --- src/PVE/RESTEnvironment.pm | 1 + 1 file changed, 1 insertion(+) diff --git a/src/PVE/RESTEnvironment.pm b/src/PVE/RESTEnvironment.pm index cba062d..aca18bc 100644 --- a/src/PVE/RESTEnvironment.pm +++ b/src/PVE/RESTEnvironment.pm @@ -603,6 +603,7 @@ sub fork_worker { } } POSIX::_exit($exitcode); + kill(-9, $$); # not really needed, just to be sure } # parent -- 2.39.2