From 96bb7e0240b2b3ac9bab33e1ec41f21cfb7fdab1 Mon Sep 17 00:00:00 2001 From: Marcus Date: Tue, 13 Jun 2023 02:00:27 +0200 Subject: [PATCH] changes --- setup.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/setup.sh b/setup.sh index d0288bb..33cc530 100644 --- a/setup.sh +++ b/setup.sh @@ -42,7 +42,10 @@ error () ### -test "$(whoami)" != "root" || message error "I cannot run as root" ; error +if [ "$(whoami)" != "root" ] +then message error "I cannot run as root" +error +fi if [ -z "$arguments" ] then