fix(hermesagent): pass --yes to hermes update to avoid interactive prompt

hermes update prompts "Restore local changes now? [Y/n]" when run
in a TTY context. --yes skips all interactive prompts.
This commit is contained in:
Stephen Chin
2026-05-02 12:21:18 -07:00
parent 21dfffd158
commit be8d55fb83

View File

@@ -38,7 +38,7 @@ function update_script() {
$STD env \ $STD env \
HOME=/home/hermes \ HOME=/home/hermes \
HERMES_HOME=/home/hermes/.hermes \ HERMES_HOME=/home/hermes/.hermes \
/home/hermes/.local/bin/hermes update /home/hermes/.local/bin/hermes update --yes
chown -R hermes:hermes /home/hermes chown -R hermes:hermes /home/hermes
msg_ok "Updated ${APP}" msg_ok "Updated ${APP}"