From 2651c572d809a54fe20d46829409166c560f115d Mon Sep 17 00:00:00 2001 From: tuxwarrior Date: Wed, 1 May 2024 18:07:41 -0500 Subject: [PATCH] u --- scripts/99_software.sh | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/scripts/99_software.sh b/scripts/99_software.sh index 59d29ab..4fca91b 100644 --- a/scripts/99_software.sh +++ b/scripts/99_software.sh @@ -8,9 +8,8 @@ echo "<< 99_software.sh >>" user=poq -if [ "$EUID" -ne 0 ] then - echo "error: run as 'root'" - exit +if [ "$EUID" -ne 0 ] ; then + echo "error: run as 'root'"; exit 1; fi this_file_name=`basename "$0"`