Skip to content

Commit

Permalink
Fix looping command execution
Browse files Browse the repository at this point in the history
  • Loading branch information
ThomDietrich authored Oct 21, 2024
1 parent 5aa1dbd commit 7a84426
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion autossh/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ echo ""
while true; do
bashio::log.info "Executing command: ${COMMAND}"
/usr/bin/autossh -V
exec ${COMMAND}
eval "${COMMAND}"
echo ""
bashio::log.error "SSH service seems to have crashed. Trying to reconnect..."
echo ""
Expand Down

0 comments on commit 7a84426

Please # to comment.