mirror of
https://github.com/atmoz/sftp.git
synced 2025-03-09 15:16:00 -04:00
Update entrypoint
This commit is contained in:
parent
59ad42f086
commit
7fed52f018
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…
Add table
Reference in a new issue