From a5410484d37522401b584746cc6396f226182bc3 Mon Sep 17 00:00:00 2001 From: Nick Sweeting Date: Sat, 24 Apr 2021 02:27:30 -0400 Subject: [PATCH] Update setup.sh --- bin/setup.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/setup.sh b/bin/setup.sh index cc8cf7ce..38548f35 100755 --- a/bin/setup.sh +++ b/bin/setup.sh @@ -5,7 +5,7 @@ clear -if [ (id -u) -eq 0 ]; then +if [ $(id -u) -eq 0 ]; then echo "" echo "[X] You cannot run this script as root. You must run it as a non-root user with sudo ability." echo " (create a new non-privileged user 'archivebox' if necessary, then re-run the script as that user)"