summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xdrakwizard.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/drakwizard.pl b/drakwizard.pl
index 23b43ce0..890a9489 100755
--- a/drakwizard.pl
+++ b/drakwizard.pl
@@ -106,7 +106,7 @@ sub wizard {
if ($> && !$o->{allow_user} && !$::testing) {
require_root_capability();
}
- check_rpm_local($o->{needed_rpm}) if $o->{needed_rpm};
+ check_rpm_local($o->{needed_rpm}) if $o->{needed_rpm} && !$::testing;
if (defined $o->{init}) {
my ($res, $msg) = &{$o->{init}};
if (!$res) {