fix(ci): keep runner installer idempotent without restart
All checks were successful
Code Review / ai-code-review (push) Successful in 42s

This commit is contained in:
Your Name
2026-05-01 16:27:37 +08:00
parent bc295eaec2
commit e7991b8e6c

View File

@@ -131,8 +131,8 @@ else
fi
if [ "${SERVICE_SCOPE}" = "system" ]; then
sudo systemctl --no-pager --full status "${SERVICE_NAME}" | sed -n '1,18p'
sudo systemctl --no-pager --full status "${SERVICE_NAME}" | sed -n '1,18p' || true
else
systemctl --user --no-pager --full status "${SERVICE_NAME}" | sed -n '1,18p'
systemctl --user --no-pager --full status "${SERVICE_NAME}" | sed -n '1,18p' || true
fi
grep -n 'shutdown_timeout' "${CONFIG_FILE}"