From ae3610188d35de0ddadb4822b39c500bc25571a9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Torbj=C3=B8rn=20Viem=20Ness?= Date: Tue, 29 Dec 2020 10:28:09 +0100 Subject: [PATCH] Fixed bug in install script that broke it on recent Debian setups without sudo --- install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install.sh b/install.sh index cf179af3189f..9decd53f785f 100755 --- a/install.sh +++ b/install.sh @@ -525,7 +525,7 @@ sudo_sh_c() { elif command_exists sudo; then sh_c "sudo $*" elif command_exists su; then - sh_c "su -c '$*'" + sh_c "su - -c '$*'" else echoh echoerr "This script needs to run the following command as root."