From 5552b431338b7ccc9a92d2d40c393f5d83416751 Mon Sep 17 00:00:00 2001 From: maren Date: Sat, 13 Apr 2024 21:21:16 -0400 Subject: [PATCH] fuss with error messages --- install.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/install.sh b/install.sh index 2515089..5ee4e64 100755 --- a/install.sh +++ b/install.sh @@ -8,8 +8,8 @@ chattrfailed() { set +e rm -rf $chatlogdir echo - echo "ERROR: could not set append only attribute in ${chatlogdir}" - echo " does your filesystem support 'chattr +a' ?" + echo "ERROR: could not set append only attribute on ${chatlogdir}/${chatlog}" + echo " does your file system support 'chattr +a' ?" exit 1 } @@ -38,7 +38,7 @@ install() { # check for root perms if ! [ "$(id -u)" = 0 ]; then echo - echo "ERROR: please run install with root permission" >&2 + echo "ERROR: please run install with root permissions" >&2 exit 1 fi