From cd7b90d23f6e3a952f6871bd9efd0b318677c56a Mon Sep 17 00:00:00 2001 From: mivirl <> Date: Fri, 14 Mar 2025 17:48:31 +0000 Subject: [PATCH] Fix comparison in generated install.sh Erroneously required that the program wasn't running as root. --- build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.sh b/build.sh index d12baae..04f6c39 100644 --- a/build.sh +++ b/build.sh @@ -275,7 +275,7 @@ chmod 600 dist/haproxy/server.pem cat <<-"EOF" > dist/install.sh #!/bin/sh - if ! [ "$UID" = "0" ]; then + if ! [ "$UID" != "0" ]; then printf "Script must be run as root\n" exit fi -- 2.39.5