summaryrefslogtreecommitdiffstats
path: root/perl-install/standalone/net_applet
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2004-08-31 11:05:23 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2004-08-31 11:05:23 +0000
commit80e3dec2622c3c1e00a34e357978e422ddd53e14 (patch)
treecd79637fc07e6e76e7f47e7698b0256f2cb15383 /perl-install/standalone/net_applet
parent4b4a309611e8b1ef4fd34a6fbf7a9b03bf77db3b (diff)
downloaddrakx-backup-do-not-use-80e3dec2622c3c1e00a34e357978e422ddd53e14.tar
drakx-backup-do-not-use-80e3dec2622c3c1e00a34e357978e422ddd53e14.tar.gz
drakx-backup-do-not-use-80e3dec2622c3c1e00a34e357978e422ddd53e14.tar.bz2
drakx-backup-do-not-use-80e3dec2622c3c1e00a34e357978e422ddd53e14.tar.xz
drakx-backup-do-not-use-80e3dec2622c3c1e00a34e357978e422ddd53e14.zip
(is_running) ignore our own process ... (brown paper bag bug)
Diffstat (limited to 'perl-install/standalone/net_applet')
-rw-r--r--perl-install/standalone/net_applet2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/standalone/net_applet b/perl-install/standalone/net_applet
index 90f67e59f..64df7c963 100644
--- a/perl-install/standalone/net_applet
+++ b/perl-install/standalone/net_applet
@@ -73,7 +73,7 @@ Gtk2->main;
ugtk2::exit(0);
sub is_running {
- my @pid = `ps -u $ENV{USER}` =~ /\Q$_[0]/;
+ my @pid = grep { $_ ne $$ } `ps -u $ENV{USER}` =~ /\Q$_[0]/;
@pid
}
sub shouldStart() {