From 9d0989f9a9e197d2ce7eeab724b41f6790a76f68 Mon Sep 17 00:00:00 2001 From: Asif Bacchus Date: Wed, 19 Sep 2018 15:38:19 -0600 Subject: [PATCH] scriptHelp exits with code 98 and NO logging --- backup.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/backup.sh b/backup.sh index 8df5adb..38bf48d 100755 --- a/backup.sh +++ b/backup.sh @@ -18,7 +18,8 @@ stamp="[`date +%Y-%m-%d` `date +%H:%M:%S`]" ### scriptHelp -- display usage information for this script function scriptHelp { echo "In the future, I will be something helpful!" - quit 98 + # do NOT use quit function, just exit with error code + exit 98 } ### quit -- exit the script after logging any errors, warnings, etc. and