Skip to content

Commit

Permalink
fix: fix mfxxx.autorestart (bug introduced by #1573) (#1645)
Browse files Browse the repository at this point in the history
  • Loading branch information
thebaptiste authored Sep 1, 2023
1 parent 5c298cf commit d9748fb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion adm/templates/mfxxx.autorestart
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ function usage() {

function module_status() {
STATUS_STDOUT="${MFMODULE_RUNTIME_HOME}/tmp/status.stdout"
timeout 60s mfdata.status >"${STATUS_STDOUT}" 2>&1
timeout 60s {{MFMODULE_LOWERCASE}}.status >"${STATUS_STDOUT}" 2>&1
RETURN_VALUE=$?
cat "${STATUS_STDOUT}" | _module_status_json.py
if test "${RETURN_VALUE}" -ne 0; then
Expand Down

0 comments on commit d9748fb

Please sign in to comment.