fix ensure sourced

This commit is contained in:
nicolas.dorier
2018-05-18 00:29:30 +09:00
parent 13f0b77b59
commit 4a0d9f9c77

View File

@@ -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