Martin Vidner changed bug 930909
What Removed Added
CC   mvidner@suse.com
Summary "Use this password for system administrator" option is not applied if weak password is used. "Use this password for system administrator" option is not applied if a weak (0) password is used.

Comment # 2 on bug 930909 from
Josef, you can use

  if ($root_pwd ne "")

note the string comparison 'ne', not the numeric comparison '!='.
https://metacpan.org/pod/perlop#Equality-Operators

But then you have the same bug, only with the empty password. It seems that a
better solution would be to initialize the variable to undef and check if
(defined($root_pwd))
But you'd have to check whether users of the library don't treat "" specially.

Oh, and someone might think this bug is a feature and complain when we fix it
:)


You are receiving this mail because: