summaryrefslogtreecommitdiff
path: root/install
diff options
context:
space:
mode:
authorIgor Pashev <pashev.igor@gmail.com>2014-02-05 23:58:28 +0400
committerIgor Pashev <pashev.igor@gmail.com>2014-02-05 23:58:28 +0400
commit9f569f9fded60c8132020012f5779741af827d72 (patch)
treed7f3f4cdf71971cb4c21d9a66dcaa7c3e6f1e474 /install
parentdf2c0c4cb7c07e1d7c4ce7271b7db9a7218abc43 (diff)
downloadlive-9f569f9fded60c8132020012f5779741af827d72.tar.gz
Fixed that adduser hangs
If --gecos option is not given, adduser runs chfn to prompt for finger (gecos) information.
Diffstat (limited to 'install')
-rwxr-xr-xinstall3
1 files changed, 1 insertions, 2 deletions
diff --git a/install b/install
index 9055d7d..b32f76f 100755
--- a/install
+++ b/install
@@ -1069,8 +1069,7 @@ def create_user():
ButtonChoiceWindow(screen, title='Error',
text='User ID must be a number, not {}'.format(userid.value()), buttons=['Ok'])
continue
- if realname.value():
- adduser += ['--gecos', realname.value()]
+ adduser += ['--gecos', realname.value()]
adduser.append(login.value())
ret, stdout, stderr = in_bootenv(adduser)