From 6902e15c9cfa599839ff0f014b6b20d39de6c62f Mon Sep 17 00:00:00 2001 From: Heavybullets8 Date: Wed, 27 Jul 2022 17:03:03 -0600 Subject: [PATCH] better message --- heavy_script.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/heavy_script.sh b/heavy_script.sh index 4b99e646..024aec0c 100644 --- a/heavy_script.sh +++ b/heavy_script.sh @@ -4,7 +4,7 @@ script=$(readlink -f "$0") script_path=$(dirname "$script") script_name="heavy_script.sh" -cd "$script_path" || exit +cd "$script_path" || { echo "Error: Failed to change to script directory" ; exit ; } # shellcheck source=functions/backup.sh