Skip to content

Commit

Permalink
Merge pull request #11 from vrenaville/fix_stopcontainer
Browse files Browse the repository at this point in the history
fix: prevent container to stop in debug mode
  • Loading branch information
vrenaville authored Apr 29, 2022
2 parents bf36953 + f444f68 commit 3645b87
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rootfs/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ echo "[INFO ] # ${COMMAND}"

if [ -n "${AUTOSSH_DEBUG}" ]; then
echo "[DEBUG] on autossh not started automatically"
exec /bin/sh
exec /bin/sh -c "/bin/watch ls"
else
exec ${COMMAND}
fi

0 comments on commit 3645b87

Please sign in to comment.