summaryrefslogtreecommitdiffstats
path: root/mdkapplet
diff options
context:
space:
mode:
Diffstat (limited to 'mdkapplet')
-rwxr-xr-xmdkapplet4
1 files changed, 2 insertions, 2 deletions
diff --git a/mdkapplet b/mdkapplet
index cc0ba70f..8e40725c 100755
--- a/mdkapplet
+++ b/mdkapplet
@@ -324,8 +324,8 @@ sub harvester {
my $status = $? >> 8;
if ($mdv_update_pid && $mdv_update_pid == $childpid) {
undef $mdv_update_pid;
- if ($refork_gurpmi) {
- $mdv_update_pid = fork_gurpmi() if $status;
+ if ($refork_gurpmi && $status) {
+ $mdv_update_pid = fork_gurpmi();
} else {
$mdvupdate_returned = 1;
}