Browse Source

Better help message if btcpay-setup fails

migrate-pregen
nicolas.dorier 7 years ago
parent
commit
b7ebc66911
  1. 2
      btcpay-setup.sh

2
btcpay-setup.sh

@ -6,7 +6,7 @@ if [ "$0" = "$BASH_SOURCE" ]; then
fi fi
if [[ $EUID -ne 0 ]]; then if [[ $EUID -ne 0 ]]; then
echo "This script must be run as root" echo "This script must be run as root after running \"sudo su -\""
return return
fi fi

Loading…
Cancel
Save