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 0870c632..0c8f5835 100644
--- a/rpmdrake.pm
+++ b/rpmdrake.pm
@@ -184,7 +184,7 @@ sub readconf() {
}
# special cases:
$::rpmdrake_options{'no-confirmation'} = $no_confirmation->[0] if !defined $::rpmdrake_options{'no-confirmation'};
- $Rpmdrake::init::default_list_mode = $tree_mode->[0] if ref $tree_mode;
+ $Rpmdrake::init::default_list_mode = $tree_mode->[0] if ref $tree_mode && !$Rpmdrake::init::overriding_config;
}
sub writeconf() {