summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2008-05-14 15:46:23 +0000
committerThierry Vignaud <tv@mandriva.org>2008-05-14 15:46:23 +0000
commitd1a6ca72d9828ee3b5a3888cc812a4e97fe68a63 (patch)
tree64e42a44d51bfe685ad28d134dc057c578c28e51
parent245c3f89f6c31c9920e5f3058f70298362fb1556 (diff)
downloadcontrol-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--NEWS2
-rwxr-xr-xcontrol-center4
2 files changed, 5 insertions, 1 deletions
diff --git a/NEWS b/NEWS
index cc4891a5..7965b884 100644
--- a/NEWS
+++ b/NEWS
@@ -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() {