aboutsummaryrefslogtreecommitdiffstats
path: root/rpmdrake.pm
diff options
context:
space:
mode:
Diffstat (limited to 'rpmdrake.pm')
-rw-r--r--rpmdrake.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/rpmdrake.pm b/rpmdrake.pm
index 907a83bb..ef121029 100644
--- a/rpmdrake.pm
+++ b/rpmdrake.pm
@@ -212,7 +212,7 @@ sub readconf() {
}
}
# special cases:
- $::rpmdrake_options{'no-confirmation'} = $no_confirmation->[0] if !defined $::rpmdrake_options{'no-confirmation'};
+ $::rpmdrake_options{'no-confirmation'} //= $no_confirmation->[0];
$Rpmdrake::init::default_list_mode = $tree_mode->[0] if ref $tree_mode && !$Rpmdrake::init::overriding_config;
}