Better help message if btcpay-setup fails
This commit is contained in:
@@ -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
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user