I get this error when my process is shutting down:
/opt/watcher/app-types/utils.sh: line 55: "1575812310" - "1575812310": syntax error: operand expected (error token is ""1575812310" - "1575812310"")
In the file it’s this line 55:
51 if [[ ${num_processes} -eq 4 ]]; then
52 return "${_exitcode}"
53 fi
54 curr_time=$(timestamp)
55 elapsed_time=$(("${curr_time}" - "${start_time}"))
56 if [[ ${elapsed_time} -ge 2 ]] && [[ "${_warning_shown}" = "false" ]]; then
57 (>&2 echo "Your app is taking a while to stop...")
58 _warning_shown=true
59 fi
Can you fix your scripts Glitch.com