summaryrefslogtreecommitdiffstats
path: root/perl-install/install2.pm
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install/install2.pm')
-rw-r--r--perl-install/install2.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/install2.pm b/perl-install/install2.pm
index 81f75436f..15f66bcff 100644
--- a/perl-install/install2.pm
+++ b/perl-install/install2.pm
@@ -417,7 +417,7 @@ sub setRootPassword {
}
#------------------------------------------------------------------------------
sub addUser {
- return if $o->{isUpgrade};
+ return if $o->{isUpgrade} && !$_[0];
$o->addUser($_[0]);
install_any::setAuthentication($o);