Skip to content

Commit

Permalink
Merge pull request #68 from yast/fix_zero_pwd
Browse files Browse the repository at this point in the history
Fix zero pwd
  • Loading branch information
jreidinger committed Jul 2, 2015
2 parents b999d96 + 65f25e2 commit 158f395
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 2 deletions.
7 changes: 7 additions & 0 deletions package/yast2-users.changes
@@ -1,3 +1,10 @@
-------------------------------------------------------------------
Thu Jul 2 11:37:00 UTC 2015 - jreidinger@suse.com

- Allow setting the root password to "0" (the digit zero)
(bnc#930909)
- 3.1.38

-------------------------------------------------------------------
Thu Feb 5 13:21:44 CET 2015 - gs@suse.de

Expand Down
2 changes: 1 addition & 1 deletion package/yast2-users.spec
Expand Up @@ -17,7 +17,7 @@


Name: yast2-users
Version: 3.1.37
Version: 3.1.38
Release: 0

BuildRoot: %{_tmppath}/%{name}-%{version}-build
Expand Down
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 158f395

Please sign in to comment.