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 }