From 91943001d9597408a657db97e79a4cdc1ef1300b Mon Sep 17 00:00:00 2001 From: faulty Date: Tue, 13 Dec 2022 13:47:56 +0100 Subject: [PATCH] inv condition --- deploy-tools.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deploy-tools.sh b/deploy-tools.sh index e87623b..dbebb60 100755 --- a/deploy-tools.sh +++ b/deploy-tools.sh @@ -1,6 +1,6 @@ #!/bin/sh -if [ "$(id -u)" -eq 0 ]; then +if [ "$(id -u)" -ne 0 ]; then echo "Please run as root" exit fi