From 370b4dd2a5513270cd3e7be8ba497ade5452117b Mon Sep 17 00:00:00 2001 From: Justin Hileman Date: Thu, 1 Sep 2016 19:20:11 -0700 Subject: [PATCH] Fix the blank lines in `omf update` output. (#394) --- pkg/omf/functions/packages/omf.packages.update.fish | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pkg/omf/functions/packages/omf.packages.update.fish b/pkg/omf/functions/packages/omf.packages.update.fish index d433f13..e62c5dc 100644 --- a/pkg/omf/functions/packages/omf.packages.update.fish +++ b/pkg/omf/functions/packages/omf.packages.update.fish @@ -25,6 +25,8 @@ function omf.packages.update -a name return 1 end - echo $result + if set -q result + echo $result + end return 0 end