0
0
Fork 0
mirror of https://github.com/atmoz/sftp.git synced 2024-11-17 12:51:33 -05:00

Fix if-else syntax and change log message

This commit is contained in:
Adrian Dvergsdal 2018-01-05 13:14:29 +01:00
parent 4314252745
commit 5427a7d59b
No known key found for this signature in database
GPG key ID: C1E9E2D9552A42D2

View file

@ -172,8 +172,8 @@ if [ -d /etc/sftp.d ]; then
if [ -x "$f" ]; then
log "Running $f ..."
$f
elif
log "Will not run $f because the file is not executable. Maybe you should run chmod +x $f outside your container."
else
log "Could not run $f, because it's missing execute permission (+x)."
fi
done
unset f