mirror of
https://github.com/atmoz/sftp.git
synced 2024-12-22 13:14:42 -05:00
Ignore blank lines in sftp-users.conf
This commit is contained in:
parent
9c63c2d806
commit
bda3f0d48e
1 changed files with 1 additions and 1 deletions
|
@ -89,7 +89,7 @@ if [ ! -f "$userConfFinalPath" ]; then
|
|||
|
||||
# Append mounted config to final config
|
||||
if [ -f "$userConfPath" ]; then
|
||||
cat "$userConfPath" > "$userConfFinalPath"
|
||||
cat "$userConfPath" | grep -v -e '^$' > "$userConfFinalPath"
|
||||
fi
|
||||
|
||||
# Append users from arguments to final config
|
||||
|
|
Loading…
Reference in a new issue