summaryrefslogtreecommitdiffstats
path: root/adduser
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
commit1f08f7adb405316314b939b1c108d79ecad9ea92 (patch)
tree59ae68e31ac7543168ca0b429790898639a75c08 /adduser
parent8db63d6b244fe5c2cfb1bc3826cca2b9cdddef17 (diff)
downloadpw-darwin-1f08f7adb405316314b939b1c108d79ecad9ea92.tar.gz
pw-darwin-1f08f7adb405316314b939b1c108d79ecad9ea92.tar.zst
pw-darwin-1f08f7adb405316314b939b1c108d79ecad9ea92.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')
-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