mirror of
https://github.com/freebsd/freebsd-src
synced 2024-09-06 09:10:28 +00:00
- 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
This commit is contained in:
parent
92bc8d4e8e
commit
989090c052
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=145618
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue