summaryrefslogtreecommitdiffstats
path: root/usr.sbin/sysinstall/user.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin/sysinstall/user.c')
-rw-r--r--usr.sbin/sysinstall/user.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/usr.sbin/sysinstall/user.c b/usr.sbin/sysinstall/user.c
index 3e4a65c..1b0b845 100644
--- a/usr.sbin/sysinstall/user.c
+++ b/usr.sbin/sysinstall/user.c
@@ -426,6 +426,7 @@ verifyUserSettings(WINDOW *ds_win)
return 0;
}
if (strlen(shell) > 0) {
+ setusershell();
while((cp = getusershell()) != NULL)
if (strcmp(cp, shell) == 0)
break;
OpenPOWER on IntegriCloud