From a97b3d1ed3ab39b70e0fb85ee194451567d5f5da Mon Sep 17 00:00:00 2001 From: Jose Diaz-Gonzalez Date: Sat, 2 Feb 2019 13:52:42 -0500 Subject: [PATCH] fix: exit with a status code between 1 and 255 Fixes SC2242 --- contrib/release-dokku | 2 +- contrib/release-dokku-update | 2 +- contrib/release-herokuish | 2 +- contrib/release-plugin | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/contrib/release-dokku b/contrib/release-dokku index a9452d70a..fcb6be588 100755 --- a/contrib/release-dokku +++ b/contrib/release-dokku @@ -24,7 +24,7 @@ log-fail() { # shellcheck disable=SC2034 declare desc="Log fail formatter" log-error "$*" - exit -1 + exit 1 } fn-build-dokku() { diff --git a/contrib/release-dokku-update b/contrib/release-dokku-update index 9a97c67a8..a431b0c87 100755 --- a/contrib/release-dokku-update +++ b/contrib/release-dokku-update @@ -24,7 +24,7 @@ log-fail() { # shellcheck disable=SC2034 declare desc="Log fail formatter" log-error "$*" - exit -1 + exit 1 } fn-build-dokku() { diff --git a/contrib/release-herokuish b/contrib/release-herokuish index 87e87f251..9293441df 100755 --- a/contrib/release-herokuish +++ b/contrib/release-herokuish @@ -24,7 +24,7 @@ log-fail() { # shellcheck disable=SC2034 declare desc="Log fail formatter" log-error "$*" - exit -1 + exit 1 } fn-build-dokku() { diff --git a/contrib/release-plugin b/contrib/release-plugin index 348c76100..bf7a0d06e 100755 --- a/contrib/release-plugin +++ b/contrib/release-plugin @@ -22,7 +22,7 @@ log-fail() { # shellcheck disable=SC2034 declare desc="Log fail formatter" log-error "$*" - exit -1 + exit 1 } fn-github-download-release() {