From 4a0d9f9c77e840f55b2eb36a015c0f41751dbcc1 Mon Sep 17 00:00:00 2001 From: "nicolas.dorier" Date: Fri, 18 May 2018 00:29:30 +0900 Subject: [PATCH] fix ensure sourced --- btcpay-setup.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/btcpay-setup.sh b/btcpay-setup.sh index 557e491..7ce518f 100755 --- a/btcpay-setup.sh +++ b/btcpay-setup.sh @@ -1,6 +1,6 @@ #!/bin/bash -if [ "$0" != "$BASH_SOURCE" ]; then +if [ "$0" = "$BASH_SOURCE" ]; then echo "This script must be sourced \". btcpay-setup.sh\"" exit 1 fi