diff options
author | Tuowen Zhao <ztuowen@gmail.com> | 2021-11-06 15:47:31 -0600 |
---|---|---|
committer | Tuowen Zhao <ztuowen@gmail.com> | 2021-11-06 15:47:31 -0600 |
commit | 2a977876c6e85847652f097cc128e4ed5bec147a (patch) | |
tree | 4dba20c6aea6ea18723fa9e47b181580767aee37 /lib/cli.zsh | |
parent | fad92c603be0ff36825cc53bf8c485d4b95c7869 (diff) | |
parent | b2f35a7b98455b2bb8c7c3b11db6aa587e1d28bf (diff) | |
download | zsh-2a977876c6e85847652f097cc128e4ed5bec147a.tar.gz zsh-2a977876c6e85847652f097cc128e4ed5bec147a.tar.bz2 zsh-2a977876c6e85847652f097cc128e4ed5bec147a.zip |
Merge remote-tracking branch 'origin/master'
Diffstat (limited to 'lib/cli.zsh')
-rw-r--r-- | lib/cli.zsh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/cli.zsh b/lib/cli.zsh index 4b14360c1..0b6bbc6cb 100644 --- a/lib/cli.zsh +++ b/lib/cli.zsh @@ -755,9 +755,9 @@ function _omz::update { # Run update script if [[ "$1" != --unattended ]]; then - ZSH="$ZSH" zsh -f "$ZSH/tools/upgrade.sh" --interactive + ZSH="$ZSH" zsh -f "$ZSH/tools/upgrade.sh" --interactive || return $? else - ZSH="$ZSH" zsh -f "$ZSH/tools/upgrade.sh" + ZSH="$ZSH" zsh -f "$ZSH/tools/upgrade.sh" || return $? fi # Update last updated file |