summaryrefslogtreecommitdiffstats
path: root/perl-install/pkgs.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2003-04-30 10:09:27 +0000
committerPascal Rigaux <pixel@mandriva.com>2003-04-30 10:09:27 +0000
commita419039b11d02b7ef2b7f894b199b245a7876303 (patch)
tree80c4d24a153aff1c05609b529d086457fe557c49 /perl-install/pkgs.pm
parentc591bd073fb71703d6eb804429ed5b7e53bc538f (diff)
downloaddrakx-a419039b11d02b7ef2b7f894b199b245a7876303.tar
drakx-a419039b11d02b7ef2b7f894b199b245a7876303.tar.gz
drakx-a419039b11d02b7ef2b7f894b199b245a7876303.tar.bz2
drakx-a419039b11d02b7ef2b7f894b199b245a7876303.tar.xz
drakx-a419039b11d02b7ef2b7f894b199b245a7876303.zip
perl_checker compliance
Diffstat (limited to 'perl-install/pkgs.pm')
-rw-r--r--perl-install/pkgs.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/perl-install/pkgs.pm b/perl-install/pkgs.pm
index e780927cc..001d7bc3c 100644
--- a/perl-install/pkgs.pm
+++ b/perl-install/pkgs.pm
@@ -1039,8 +1039,8 @@ sub install($$$;$$) {
my @allpids = grep { /^\d+$/ } all("/proc");
my %ppids;
foreach (@allpids) {
- cat_("/proc/$_/status") =~ /^PPid:\s+(\d+)/m;
- push @{$ppids{$1 || 1}}, $_;
+ push @{$ppids{$1 || 1}}, $_
+ if cat_("/proc/$_/status") =~ /^PPid:\s+(\d+)/m;
}
my @killpid = difference2(\@allpids, [ @prev_pids,
difference2([ $$, hashtree2list(getppid(), \%ppids) ],