bugfix: Core update reported failure when up-to-date

This commit is contained in:
Itzik Ephraim 2016-03-28 09:13:55 +03:00
parent 0699c9ff40
commit 0fc99b38b4

View File

@ -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)