From 0da43c5d2517f17c2dde5162a90de98fb08c3961 Mon Sep 17 00:00:00 2001 From: Your Name Date: Thu, 29 May 2025 19:33:28 +1200 Subject: [PATCH] :-'Generic Commit' --- dropshell-build/install_dropshell_build_host.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dropshell-build/install_dropshell_build_host.sh b/dropshell-build/install_dropshell_build_host.sh index 2f4a01a..2808192 100755 --- a/dropshell-build/install_dropshell_build_host.sh +++ b/dropshell-build/install_dropshell_build_host.sh @@ -15,7 +15,7 @@ if [ -n "${SUDO_USER:-}" ] && [ "$SUDO_USER" != "root" ]; then fi # test sudo is working or we're root (return non-zero if not root!) -if ! /bin/bash -c '"$SUDOCMD" true'; then +if ! /bin/bash -c '"$SUDOCMD" echo "whee"'; then echo "Error: This script must be run as root or with sudo privileges." >&2 exit 1 fi