Better help message if btcpay-setup fails

This commit is contained in:
nicolas.dorier
2018-05-18 00:31:55 +09:00
parent 4a0d9f9c77
commit b7ebc66911

View File

@@ -6,7 +6,7 @@ if [ "$0" = "$BASH_SOURCE" ]; then
fi
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
fi