Reword sudo comment

This commit is contained in:
tituspijean 2022-04-10 16:00:22 +02:00 committed by GitHub
parent 84875885b9
commit d84adf5427
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

2
buster
View file

@ -229,7 +229,7 @@ function check_assertions()
fi
# Assert we're root
[[ "$(id -u)" == "0" ]] || die "This script must be run as root. On most setups, typing 'sudo -i' can be used to become root."
[[ "$(id -u)" == "0" ]] || die "This script must be run as root. On most setups, the command 'sudo -i' can be run first to become root."
# Assert systemd is installed
command -v systemctl > /dev/null || die "YunoHost requires systemd to be installed."