diff options
author | Robert Drehmel <robert@FreeBSD.org> | 2005-04-28 12:44:02 +0000 |
---|---|---|
committer | Robert Drehmel <robert@FreeBSD.org> | 2005-04-28 12:44:02 +0000 |
commit | 989090c052317f24d1ee551b9f0ebae354e2886b (patch) | |
tree | 3c443df28c327d79fcb539532b1d8a43201d2d15 /usr.sbin/adduser/adduser.sh | |
parent | 92bc8d4e8e53221b119e5c652e8343522d649481 (diff) | |
download | src-989090c052317f24d1ee551b9f0ebae354e2886b.tar.gz src-989090c052317f24d1ee551b9f0ebae354e2886b.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
Notes
Notes:
svn path=/head/; revision=145618
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 0014e4c10799..a8622b93881f 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 |