diff options
author | Thierry Vignaud <tv@mandriva.org> | 2008-05-14 15:46:23 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mandriva.org> | 2008-05-14 15:46:23 +0000 |
commit | d1a6ca72d9828ee3b5a3888cc812a4e97fe68a63 (patch) | |
tree | 64e42a44d51bfe685ad28d134dc057c578c28e51 | |
parent | 245c3f89f6c31c9920e5f3058f70298362fb1556 (diff) | |
download | control-center-d1a6ca72d9828ee3b5a3888cc812a4e97fe68a63.tar control-center-d1a6ca72d9828ee3b5a3888cc812a4e97fe68a63.tar.gz control-center-d1a6ca72d9828ee3b5a3888cc812a4e97fe68a63.tar.bz2 control-center-d1a6ca72d9828ee3b5a3888cc812a4e97fe68a63.tar.xz control-center-d1a6ca72d9828ee3b5a3888cc812a4e97fe68a63.zip |
(kill_them_all) simplify, trying to solve hard to reproduce perl
segfault (see https://qa.mandriva.com/show_bug.cgi?id=34505#c253)
-rw-r--r-- | NEWS | 2 | ||||
-rwxr-xr-x | control-center | 4 |
2 files changed, 5 insertions, 1 deletions
@@ -1,3 +1,5 @@ +- try to solve hard to reproduce perl segfault (#34505) + Version 10.18.2 - 11 March 2008, Thierry Vignaud - add an icon for draksnapshot diff --git a/control-center b/control-center index 0475d6c7..2f16523f 100755 --- a/control-center +++ b/control-center @@ -1821,7 +1821,9 @@ sub start_logdrake() { } sub kill_them_all { - map { if__($_, kill 'TERM', $_) } @_; + foreach my $pid (@_) { + kill('TERM', $pid) if $pid; + } } sub kill_children() { |