summaryrefslogtreecommitdiffstats
path: root/mdkapplet
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2008-09-04 13:23:24 +0000
committerThierry Vignaud <tv@mandriva.org>2008-09-04 13:23:24 +0000
commit65d717ff6a9a3042a3f00d3f9eaae24100b89165 (patch)
tree699bd59effd978932726539f356cf65345fd4082 /mdkapplet
parent8b190cc23b16ee92c778cc83f34ee74c267a64c9 (diff)
downloadmgaonline-65d717ff6a9a3042a3f00d3f9eaae24100b89165.tar
mgaonline-65d717ff6a9a3042a3f00d3f9eaae24100b89165.tar.gz
mgaonline-65d717ff6a9a3042a3f00d3f9eaae24100b89165.tar.bz2
mgaonline-65d717ff6a9a3042a3f00d3f9eaae24100b89165.tar.xz
mgaonline-65d717ff6a9a3042a3f00d3f9eaae24100b89165.zip
(harvester) prevent running media manager more than one at a time
Diffstat (limited to 'mdkapplet')
-rwxr-xr-xmdkapplet2
1 files changed, 2 insertions, 0 deletions
diff --git a/mdkapplet b/mdkapplet
index 49af2558..ecf544b5 100755
--- a/mdkapplet
+++ b/mdkapplet
@@ -311,6 +311,8 @@ sub harvester {
logIt($state->{log});
go2State($state->{status});
}
+ } elsif ($media_manager_pid && $media_manager_pid == $childpid) {
+ undef $media_manager_pid;
}
push @pids, $childpid;
} while $childpid > 0;