summaryrefslogtreecommitdiffstats
path: root/perl-install/install2.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2000-09-07 17:29:37 +0000
committerPascal Rigaux <pixel@mandriva.com>2000-09-07 17:29:37 +0000
commita1f0c87ac7f98f8555717fd934edf7e706b8694c (patch)
tree1c93711a8b9d69bacbfbf5dccd5a9dbd7abfc613 /perl-install/install2.pm
parent241ac866dc8d3d872aa7848eb0d56eb57cf82233 (diff)
downloaddrakx-a1f0c87ac7f98f8555717fd934edf7e706b8694c.tar
drakx-a1f0c87ac7f98f8555717fd934edf7e706b8694c.tar.gz
drakx-a1f0c87ac7f98f8555717fd934edf7e706b8694c.tar.bz2
drakx-a1f0c87ac7f98f8555717fd934edf7e706b8694c.tar.xz
drakx-a1f0c87ac7f98f8555717fd934edf7e706b8694c.zip
no_comment
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);