summaryrefslogtreecommitdiffstats
path: root/mdkapplet
diff options
context:
space:
mode:
Diffstat (limited to 'mdkapplet')
-rwxr-xr-xmdkapplet2
1 files changed, 1 insertions, 1 deletions
diff --git a/mdkapplet b/mdkapplet
index af4f79b7..1d17c58f 100755
--- a/mdkapplet
+++ b/mdkapplet
@@ -218,7 +218,7 @@ sub harvester {
my $mdvupdate_returned;
do {
$childpid = waitpid(-1, &WNOHANG);
- if ($mdv_update_pid == $childpid) {
+ if ($mdv_update_pid && $mdv_update_pid == $childpid) {
undef $mdv_update_pid;
$mdvupdate_returned = 1;
}