diff options
author | Olivier Blin <oblin@mandriva.org> | 2005-07-18 10:53:47 +0000 |
---|---|---|
committer | Olivier Blin <oblin@mandriva.org> | 2005-07-18 10:53:47 +0000 |
commit | ffbfb60a58bb8ed2913456c91f6c9e696ad55c5f (patch) | |
tree | f48497b4d6821517b2d9c16c33ad525d8c8eb3c3 /perl-install | |
parent | 4e7caad03229b59c765032b06c1edd5947539639 (diff) | |
download | drakx-backup-do-not-use-ffbfb60a58bb8ed2913456c91f6c9e696ad55c5f.tar drakx-backup-do-not-use-ffbfb60a58bb8ed2913456c91f6c9e696ad55c5f.tar.gz drakx-backup-do-not-use-ffbfb60a58bb8ed2913456c91f6c9e696ad55c5f.tar.bz2 drakx-backup-do-not-use-ffbfb60a58bb8ed2913456c91f6c9e696ad55c5f.tar.xz drakx-backup-do-not-use-ffbfb60a58bb8ed2913456c91f6c9e696ad55c5f.zip |
remove useless test
Diffstat (limited to 'perl-install')
-rw-r--r-- | perl-install/standalone/net_applet | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/perl-install/standalone/net_applet b/perl-install/standalone/net_applet index 631872574..6b140c4c2 100644 --- a/perl-install/standalone/net_applet +++ b/perl-install/standalone/net_applet @@ -126,8 +126,7 @@ sub is_running { my ($name) = @_; any { my ($ppid, $pid, $n) = /^\s*(\d+)\s+(\d+)\s+(.*)/; - #- to run ps, perl may create some process with $name as name and 1 as ppid - $ppid != 1 && $pid != $$ && $n eq $name; + $pid != $$ && $n eq $name; } `ps -o '%P %p %c' -u $ENV{USER}`; } sub shouldStart() { |