From 530d6e0ba050f0afcad2b97312a376cc574b3a34 Mon Sep 17 00:00:00 2001 From: maren Date: Sat, 13 Apr 2024 21:00:36 -0400 Subject: [PATCH] improve error message formatting --- install.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/install.sh b/install.sh index c82315c..2515089 100755 --- a/install.sh +++ b/install.sh @@ -30,13 +30,14 @@ install() { chown root:root ${installtarget}/proclaim chown root:root ${installtarget}/heed chown root:root ${installtarget}/scry - + echo echo "SUCCESS! bunkchat installed!" exit 0 } # check for root perms if ! [ "$(id -u)" = 0 ]; then + echo echo "ERROR: please run install with root permission" >&2 exit 1 fi