diff options
author | robert <robert@FreeBSD.org> | 2005-04-28 12:44:02 +0000 |
---|---|---|
committer | robert <robert@FreeBSD.org> | 2005-04-28 12:44:02 +0000 |
commit | ee916bda34797f3641cf54da629cbd82811229f9 (patch) | |
tree | 3c443df28c327d79fcb539532b1d8a43201d2d15 /usr.sbin/adduser/adduser.sh | |
parent | 848d1505738e386694e687cceccbc3d3f52fef78 (diff) | |
download | FreeBSD-src-ee916bda34797f3641cf54da629cbd82811229f9.zip FreeBSD-src-ee916bda34797f3641cf54da629cbd82811229f9.tar.gz |
- 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 'usr.sbin/adduser/adduser.sh')
-rw-r--r-- | usr.sbin/adduser/adduser.sh | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/usr.sbin/adduser/adduser.sh b/usr.sbin/adduser/adduser.sh index 0014e4c..a8622b9 100644 --- a/usr.sbin/adduser/adduser.sh +++ b/usr.sbin/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 |