From c6124d4d37bd1571662d395a4d70f91610bc3139 Mon Sep 17 00:00:00 2001 From: "Brian K. Christensen" Date: Wed, 5 Jul 2017 15:42:35 +0200 Subject: [PATCH] Updater: fix bug regarding source init in new updater logic --- init.zsh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/init.zsh b/init.zsh index b2a79c83..eb160913 100644 --- a/init.zsh +++ b/init.zsh @@ -23,7 +23,7 @@ unset min_zsh_version function zprezto-update () ( function cannot-fast-forward { local STATUS="$1" - [[ "${STATUS}" ]] && printf "%s\n" "${STATUS}" + [[ -n "${STATUS}" ]] && printf "%s\n" "${STATUS}" printf "Unable to fast-forward the changes. You can fix this by " printf "running\ncd '%s' and then\n'git pull' " "${ZPREZTODIR}" printf "to manually pull and possibly merge in changes\n"