mirror of
https://github.com/oh-my-fish/oh-my-fish.git
synced 2024-11-22 12:43:23 +08:00
bugfix: Core update reported failure when up-to-date
This commit is contained in:
parent
0699c9ff40
commit
0fc99b38b4
|
@ -12,7 +12,8 @@ function omf.cli.update
|
|||
end
|
||||
|
||||
if set -q update_core
|
||||
if omf.core.update
|
||||
omf.core.update
|
||||
if test $status -ne 1
|
||||
echo (omf::em)"Oh My Fish is up to date."(omf::off)
|
||||
else
|
||||
echo (omf::err)"Oh My Fish failed to update."(omf::off)
|
||||
|
|
Loading…
Reference in New Issue
Block a user