diff options
author | Chris Lumens <clumens@redhat.com> | 2008-01-21 17:28:11 -0500 |
---|---|---|
committer | Chris Lumens <clumens@redhat.com> | 2008-01-21 17:28:11 -0500 |
commit | c638f466a362ce453b0d75418d4851996ae9a29d (patch) | |
tree | db07972ee7dbf7aed9305bcbd5ac12a145e8a2c6 /instdata.py | |
parent | 3fee133644974dfb02d3d964720bb8f37bdc132e (diff) | |
download | anaconda-c638f466a362ce453b0d75418d4851996ae9a29d.tar.gz anaconda-c638f466a362ce453b0d75418d4851996ae9a29d.tar.xz anaconda-c638f466a362ce453b0d75418d4851996ae9a29d.zip |
Try to fix a problem creating users via kickstart (#428891).
Diffstat (limited to 'instdata.py')
-rw-r--r-- | instdata.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/instdata.py b/instdata.py index b5fc9db53..b46fcd1b6 100644 --- a/instdata.py +++ b/instdata.py @@ -200,10 +200,10 @@ class InstallData: root=self.anaconda.rootPath) for ud in self.ksdata.user.userList: - if self.users.createUser(ud.name, ud.password, ud.isCrypted, - ud.groups, ud.homedir, ud.shell, - ud.uid, ud.lock, - root=self.anaconda.rootPath) == None: + if not self.users.createUser(ud.name, ud.password, ud.isCrypted, + ud.groups, ud.homedir, ud.shell, + ud.uid, ud.lock, + root=self.anaconda.rootPath): log.error("User %s already exists, not creating." % ud.name) |