From 9ad0d4af94c3f97e39eddb353b1237833f3a2d4f Mon Sep 17 00:00:00 2001 From: moi15moi Date: Fri, 15 Aug 2025 21:25:52 -0400 Subject: [PATCH] [version.sh] Return success when version is found Previously, echo_maybe() exited with code 1. This caused the script to signal an error even though version detection succeeded. I just changed the exit code from 1 to 0 to indicate success when a version is found. --- version.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/version.sh b/version.sh index 47fed12276..93b65493c7 100755 --- a/version.sh +++ b/version.sh @@ -7,7 +7,7 @@ strip_echo () { echo_maybe () { if test -n "$2"; then strip_echo "$1$2" - exit 1 + exit 0 fi }