From 48b6b8a5cc504657a3bfec979b709063e910dbf0 Mon Sep 17 00:00:00 2001 From: ENGO150 Date: Wed, 27 Apr 2022 18:47:57 +0200 Subject: [PATCH] added exit status --- configure.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.sh b/configure.sh index 09349f3..331fa96 100644 --- a/configure.sh +++ b/configure.sh @@ -5,7 +5,7 @@ DISTRO=$(lsb_release -is) if [[ $(id -u) != "0" ]] && [[ $1 != "force" ]]; then echo "You must run this script as root! (To skip this, run with 'force' arg: \"./configure.sh force\")" - exit + exit 1 fi # Get COMMAND