[pve-devel] [PATCH access-control 1/4] make sure to kill correct process (group)

Fabian Grünbichler f.gruenbichler at proxmox.com
Thu Jul 28 15:32:41 CEST 2016


---
 PVE/RPCEnvironment.pm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/PVE/RPCEnvironment.pm b/PVE/RPCEnvironment.pm
index 3ec2c91..ece0745 100644
--- a/PVE/RPCEnvironment.pm
+++ b/PVE/RPCEnvironment.pm
@@ -763,7 +763,7 @@ sub check_worker {
     return 0 if !$running;
 
     if ($killit) {
-	&$kill_process_group($task->{pid});
+	&$kill_process_group($task->{pid}, $task->{pstart});
 	return 0;
     }
 
-- 
2.1.4




More information about the pve-devel mailing list