From bd710e4a356141b741b20658b7cde37e21807c72 Mon Sep 17 00:00:00 2001 From: piecka Date: Mon, 5 May 2025 10:04:43 +0200 Subject: [PATCH] wip --- colorscript.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/colorscript.sh b/colorscript.sh index 9f074f3..6bf13ab 100644 --- a/colorscript.sh +++ b/colorscript.sh @@ -34,7 +34,7 @@ check_root() { if [ "$(id -u)" -ne 0 ]; then if command_exists sudo; then echo_info "User is not root. Using sudo for privileged operations." - _sudo="sudo" + _sudo="sudo -E" else echo_error "No sudo found and you're not root! Can't install packages." return 1