From 91dec8bfb6a603625d17a93b7c388c6f090a3f6d Mon Sep 17 00:00:00 2001 From: Alexandre Aubin Date: Sat, 9 Jan 2021 22:57:10 +0100 Subject: [PATCH] Add a tip on how to become root... --- install_yunohost | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install_yunohost b/install_yunohost index 234a659..9f77c9a 100755 --- a/install_yunohost +++ b/install_yunohost @@ -229,7 +229,7 @@ function check_assertions() fi # Assert we're root - [[ "$(id -u)" == "0" ]] || die "This script must be run as root." + [[ "$(id -u)" == "0" ]] || die "This script must be run as root. On most setups, typing 'sudo -i' can be used to become root." # Assert systemd is installed command -v systemctl > /dev/null || die "YunoHost requires systemd to be installed."