Skip to content

Commit

Permalink
allow root password set to 0 (zero) (bnc#930909)
Browse files Browse the repository at this point in the history
  • Loading branch information
jreidinger committed Jul 2, 2015
1 parent b999d96 commit cbddb8b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/modules/UsersSimple.pm
Expand Up @@ -906,7 +906,7 @@ BEGIN { $TYPEINFO{Write} = ["function", "boolean"];}
sub Write {
my $self = shift;

if ($root_password) {
if ($root_password ne "") {
# write root password now
return $self->WriteRootPassword ();
}
Expand Down

0 comments on commit cbddb8b

Please sign in to comment.