summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xmdkapplet9
1 files changed, 6 insertions, 3 deletions
diff --git a/mdkapplet b/mdkapplet
index 1a523972..1d47b90b 100755
--- a/mdkapplet
+++ b/mdkapplet
@@ -340,9 +340,12 @@ sub harvester {
if ($state) {
log::explanations($state->{log});
$sub_state = $state->{status};
- go2State($new_distro && $config{DO_NOT_ASK_FOR_DISTRO_UPGRADE} !~ /^true$/i
- && $local_config{DO_NOT_ASK_FOR_DISTRO_UPGRADE} !~ /^true$/i ?
- 'new_distribution' : $sub_state);
+ if ($new_distro && $config{DO_NOT_ASK_FOR_DISTRO_UPGRADE} !~ /^true$/i
+ && $local_config{DO_NOT_ASK_FOR_DISTRO_UPGRADE} !~ /^true$/i) {
+ go2State('new_distribution');
+ } else {
+ go2State($sub_state);
+ }
}
} elsif ($media_manager_pid && $media_manager_pid == $childpid) {
undef $media_manager_pid;