From bde3a7525a0e60918080f7a1d4ba99f734f12bf2 Mon Sep 17 00:00:00 2001 From: "nicolas.dorier" Date: Thu, 17 May 2018 23:45:57 +0900 Subject: [PATCH] fix script --- btcpay-setup.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/btcpay-setup.sh b/btcpay-setup.sh index 129e16a..1b6c8b4 100755 --- a/btcpay-setup.sh +++ b/btcpay-setup.sh @@ -12,6 +12,7 @@ fi if ! git -C . rev-parse echo "You must run this script inside the git repository of btcpayserver-docker" + exit 1 then function display_help () { @@ -50,7 +51,7 @@ END } if [ "$1" != "-i" ]; then - display_help() + display_help exit 1 fi