From 40818dacf68327a33984d6877ab5c07df3dccf4b Mon Sep 17 00:00:00 2001 From: awalsh128 Date: Sat, 16 Oct 2021 22:39:43 -0700 Subject: [PATCH] Fix conditional. --- validate_pkgs.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/validate_pkgs.sh b/validate_pkgs.sh index 34c9830..138f249 100755 --- a/validate_pkgs.sh +++ b/validate_pkgs.sh @@ -9,7 +9,7 @@ packages=${@:2} echo -n "* Validating action arguments... "; echo $version | grep -o " " > /dev/null -if [ $? -ne 0 ]; then +if [ $? -eq 0 ]; then echo "aborted." echo "* Version value '$version' cannot contain spaces." >&2 exit 1