summaryrefslogtreecommitdiffstats
path: root/adduser
diff options
context:
space:
mode:
authorMike Makonnen <mtm@FreeBSD.org>2007-04-12 07:38:26 +0000
committerMike Makonnen <mtm@FreeBSD.org>2007-04-12 07:38:26 +0000
commit0cec5f558853b5b18073595b3d78600d8152cedd (patch)
tree0d5c91617c9bd913cfaa8547c1db5a3e8406822b /adduser
parent5b5a95f8e20bdce1aa09506c30281914ce930001 (diff)
downloadpw-darwin-0cec5f558853b5b18073595b3d78600d8152cedd.tar.gz
pw-darwin-0cec5f558853b5b18073595b3d78600d8152cedd.tar.zst
pw-darwin-0cec5f558853b5b18073595b3d78600d8152cedd.zip
Errm... I don't see how rev. 1.26 could have possibly worked or been tested.
Fix it for real. Submitted by: Johnny Lee <johnny@bmtk.com> MFC After: 2 weeks
Diffstat (limited to 'adduser')
-rw-r--r--adduser/adduser.sh25
1 files changed, 13 insertions, 12 deletions
diff --git a/adduser/adduser.sh b/adduser/adduser.sh
index 7097caf..5b970dc 100644
--- a/adduser/adduser.sh
+++ b/adduser/adduser.sh
@@ -598,19 +598,20 @@ input_from_file() {
case "$fileline" in
\#*|'')
;;
- esac
-
- get_user || continue
- get_gecos
- get_uid
- get_logingroup
- get_class
- get_shell
- get_homedir
- get_password
- get_expire_dates
+ *)
+ get_user || continue
+ get_gecos
+ get_uid
+ get_logingroup
+ get_class
+ get_shell
+ get_homedir
+ get_password
+ get_expire_dates
- add_user
+ add_user
+ ;;
+ esac
done
}