From c52028c4ac5388ee1269832ade4cfb8488b0818c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc=20W=C3=A4ckerlin?= Date: Wed, 16 Sep 2020 09:11:26 +0000 Subject: [PATCH] fix typos --- scripts/template.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/scripts/template.sh b/scripts/template.sh index 05e5e67..2d8c32c 100755 --- a/scripts/template.sh +++ b/scripts/template.sh @@ -30,7 +30,7 @@ if test -t 1; then fi append_msg() { - if test $# -ne 0; then + if test $# -ne 1; then echo -n ": ${bold}$*" fi echo "${normal}" @@ -96,7 +96,8 @@ run() { return 0 fi else - return 1 + success + return fi }