tiny-moon-labs / guard-free-shipping

Public
Clone

https://git.dengel.dev/tiny-moon-labs/guard-free-shipping.git

Commit 0897557
diff --git a/shipping.sh b/shipping.sh
index 330eddd..877bb1d 100644
--- a/shipping.sh
+++ b/shipping.sh
@@ -8,7 +8,7 @@ if [ "${#1}" -gt 9 ]; then
   echo 'Subtotal exceeds the supported range (999999999 cents).' >&2
   exit 2
 fi
-if [ "$1" -gt 5000 ]; then
+if [ "$1" -ge 5000 ]; then
   echo 0
 else
   echo 499