summaryrefslogtreecommitdiffstats
path: root/adduser/adduser.sh
diff options
context:
space:
mode:
authorRobert Drehmel <robert@FreeBSD.org>2005-04-28 12:44:02 +0000
committerRobert Drehmel <robert@FreeBSD.org>2005-04-28 12:44:02 +0000
commitbc3a83e68decbe1477319e15f3bb05b6362f86cf (patch)
treea23ae2567c296dce23ab5c95375c0ede958b028f /adduser/adduser.sh
parentfba9b0655cd1d183f9052e7fed57cd5281b74360 (diff)
downloadpw-darwin-bc3a83e68decbe1477319e15f3bb05b6362f86cf.tar.gz
pw-darwin-bc3a83e68decbe1477319e15f3bb05b6362f86cf.tar.zst
pw-darwin-bc3a83e68decbe1477319e15f3bb05b6362f86cf.zip
- Act according to the documentation (man page):
When adding users from a preformatted file, do not exit silently when empty lines or lines starting with a '#' are encountered - ignore them instead. - Fix a spelling error in a comment. PR: bin/80058
Diffstat (limited to 'adduser/adduser.sh')
-rw-r--r--adduser/adduser.sh3
1 files changed, 1 insertions, 2 deletions
diff --git a/adduser/adduser.sh b/adduser/adduser.sh
index 0014e4c..a8622b9 100644
--- a/adduser/adduser.sh
+++ b/adduser/adduser.sh
@@ -588,7 +588,6 @@ input_from_file() {
while read -r fileline ; do
case "$fileline" in
\#*|'')
- return 0
;;
esac
@@ -796,7 +795,7 @@ input_interactive() {
return 0
}
-#### END SUBROUTINE DEFENITION ####
+#### END SUBROUTINE DEFINITION ####
THISCMD=`/usr/bin/basename $0`
DEFAULTSHELL=/bin/sh