mirror of
https://github.com/aljazceru/btcpayserver-docker.git
synced 2026-01-23 21:44:20 +01:00
ensure sourced
This commit is contained in:
@@ -1,5 +1,10 @@
|
||||
#!/bin/bash
|
||||
|
||||
if [ "$0" != "$BASH_SOURCE" ]; then
|
||||
echo "This script must be sourced \". btcpay-setup.sh\""
|
||||
exit 1
|
||||
fi
|
||||
|
||||
if [[ $EUID -ne 0 ]]; then
|
||||
echo "This script must be run as root"
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user