diff options
author | Daouda Lo <daouda@mandriva.com> | 2005-03-08 18:20:08 +0000 |
---|---|---|
committer | Daouda Lo <daouda@mandriva.com> | 2005-03-08 18:20:08 +0000 |
commit | 1126d62f3210cca697900ed744afccf794bc361a (patch) | |
tree | ddd8c575b9c039dc4692eda9d14885e396c7ce27 | |
parent | 1ac31ae8ef91c8f4d552aecdfc1f59719a0d0468 (diff) | |
download | mgaonline-1126d62f3210cca697900ed744afccf794bc361a.tar mgaonline-1126d62f3210cca697900ed744afccf794bc361a.tar.gz mgaonline-1126d62f3210cca697900ed744afccf794bc361a.tar.bz2 mgaonline-1126d62f3210cca697900ed744afccf794bc361a.tar.xz mgaonline-1126d62f3210cca697900ed744afccf794bc361a.zip |
- sync mdkonline files
-rwxr-xr-x | mdkapplet | 8 |
1 files changed, 0 insertions, 8 deletions
@@ -294,14 +294,6 @@ sub compareWithInstalled { } $isUpdate; } -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; - } `ps -o '%P %p %c' -u $ENV{USER}`; -} sub cronUpdate { Glib::Timeout->add(10*1000, sub { checkConfig(); |