summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2003-02-18 11:30:09 +0000
committerPascal Rigaux <pixel@mandriva.com>2003-02-18 11:30:09 +0000
commit1b36733f91670c9e25036a740352678edb6f0ead (patch)
treea9f1e44398692b04967c3dfed39cd5453349da50
parent4efe8bc92fe5110eb0ebfa0f4f47082e36011348 (diff)
downloaddrakx-backup-do-not-use-1b36733f91670c9e25036a740352678edb6f0ead.tar
drakx-backup-do-not-use-1b36733f91670c9e25036a740352678edb6f0ead.tar.gz
drakx-backup-do-not-use-1b36733f91670c9e25036a740352678edb6f0ead.tar.bz2
drakx-backup-do-not-use-1b36733f91670c9e25036a740352678edb6f0ead.tar.xz
drakx-backup-do-not-use-1b36733f91670c9e25036a740352678edb6f0ead.zip
simplify
-rw-r--r--perl-install/install2.pm3
1 files changed, 1 insertions, 2 deletions
diff --git a/perl-install/install2.pm b/perl-install/install2.pm
index b56b0c418..42bd7766e 100644
--- a/perl-install/install2.pm
+++ b/perl-install/install2.pm
@@ -267,9 +267,8 @@ sub setRootPassword {
#------------------------------------------------------------------------------
sub addUser {
my ($clicked, $_ent_number, $auto) = @_;
- return if $o->{isUpgrade} && !$clicked;
- installStepsCall($o, $auto, 'addUser', $clicked);
+ installStepsCall($o, $auto, 'addUser', $clicked) if !$o->{isUpgrade};
}
#------------------------------------------------------------------------------