mirror of
https://github.com/atmoz/sftp.git
synced 2024-11-17 12:51:33 -05:00
Merge branch 'master' of https://github.com/rfeijolo/sftp into rfeijolo-master
This commit is contained in:
commit
4314252745
1 changed files with 2 additions and 0 deletions
|
@ -172,6 +172,8 @@ if [ -d /etc/sftp.d ]; then
|
||||||
if [ -x "$f" ]; then
|
if [ -x "$f" ]; then
|
||||||
log "Running $f ..."
|
log "Running $f ..."
|
||||||
$f
|
$f
|
||||||
|
elif
|
||||||
|
log "Will not run $f because the file is not executable. Maybe you should run chmod +x $f outside your container."
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
unset f
|
unset f
|
||||||
|
|
Loading…
Reference in a new issue