fix(updater): don't show changelog when running unattended update (#9495)

Fixes #9495
This commit is contained in:
Marc Cornellà
2020-12-07 19:53:07 +01:00
parent fa1911f89e
commit 5a888ff4ac
4 changed files with 15 additions and 7 deletions

View File

@@ -14,7 +14,7 @@ function upgrade_oh_my_zsh() {
fi
# Run update script
env ZSH="$ZSH" zsh -f "$ZSH/tools/upgrade.sh"
env ZSH="$ZSH" zsh -f "$ZSH/tools/upgrade.sh" --interactive
local ret=$?
# Update last updated file
zmodload zsh/datetime