From 4ca5b98550ec579b801d0a960ede62b3d9ae6b8d Mon Sep 17 00:00:00 2001 From: Thomas Levine <_@thomaslevine.com> Date: Sun, 10 Apr 2016 20:36:05 +0000 Subject: [PATCH] comparators --- urchin | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/urchin b/urchin index c1c49d3..6c9ae57 100755 --- a/urchin +++ b/urchin @@ -301,7 +301,7 @@ test_suite_root() { # -------------------- Metafunctions -------------------- meta_verbosity() { - echo "if test \${${1}} -gt ${2}; then ${3}=true; fi" + echo "if test \${${1}} -ge ${2}; then ${3}=true; fi" } # -------------------- Printing output -------------------- @@ -714,7 +714,7 @@ wantto run urchin on that directory.' >&2 done finish=$("${epoch}") - if test "${return_code}" -eq 0; then + if test "${return_code}" -le 1; then if test -f "${urchin_tmp}"/log ; then echo Print output. # cat "${urchin_tmp}"/head