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:
parent
4314252745
commit
5427a7d59b
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue