summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xmdkapplet8
1 files changed, 0 insertions, 8 deletions
diff --git a/mdkapplet b/mdkapplet
index 1fe0fde0..5e103539 100755
--- a/mdkapplet
+++ b/mdkapplet
@@ -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();