summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
authorDaouda Lo <daouda@mandriva.com>2004-09-30 08:12:23 +0000
committerDaouda Lo <daouda@mandriva.com>2004-09-30 08:12:23 +0000
commitfb9f57304a15ea1c02bf8ec58fdeba68db1df7c1 (patch)
tree21c8f7e012dcbe4b639f67ab91e72ccddf3c3620 /perl-install
parente7b85016ce151963fe592ab69cf56261490f6ab8 (diff)
downloaddrakx-fb9f57304a15ea1c02bf8ec58fdeba68db1df7c1.tar
drakx-fb9f57304a15ea1c02bf8ec58fdeba68db1df7c1.tar.gz
drakx-fb9f57304a15ea1c02bf8ec58fdeba68db1df7c1.tar.bz2
drakx-fb9f57304a15ea1c02bf8ec58fdeba68db1df7c1.tar.xz
drakx-fb9f57304a15ea1c02bf8ec58fdeba68db1df7c1.zip
- Numeric comparisons
Diffstat (limited to 'perl-install')
-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 01abf659c..c005862cc 100644
--- a/perl-install/standalone/net_applet
+++ b/perl-install/standalone/net_applet
@@ -87,7 +87,7 @@ sub is_running {
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 ne 1 && $pid ne $$ && $n eq $name;
+ $ppid != 1 && $pid != $$ && $n eq $name;
} `ps -o '%P %p %c' -u $ENV{USER}`;
}
sub shouldStart() {