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:
@@ -38,7 +38,7 @@ function update_script() {
|
||||
$STD env \
|
||||
HOME=/home/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
|
||||
msg_ok "Updated ${APP}"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user