From 496e93498941091386101f57a1327d85daf2e4ad Mon Sep 17 00:00:00 2001 From: Gustav Westling Date: Sun, 2 Jun 2019 12:26:24 +0200 Subject: [PATCH] release: use correct exit code This bug was found with shellcheck. This updates #528 --- hack/release/create.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hack/release/create.sh b/hack/release/create.sh index 0c7957a374..0044879fd3 100755 --- a/hack/release/create.sh +++ b/hack/release/create.sh @@ -23,7 +23,7 @@ set -o pipefail if [ "$#" -ne 2 ]; then echo "Usage: create.sh release-version next-prerelease-version" - exit -1 + exit 1 fi REPO_ROOT=$(git rev-parse --show-toplevel)