From 2055e4161e64da282f8707abb4fa0d36a77e91d5 Mon Sep 17 00:00:00 2001 From: Cyberes Date: Mon, 16 Sep 2024 16:02:30 -0600 Subject: [PATCH] adjust output --- check_file_exists.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/check_file_exists.sh b/check_file_exists.sh index e0dd91d..de2f474 100644 --- a/check_file_exists.sh +++ b/check_file_exists.sh @@ -16,9 +16,9 @@ fi # Check if file exists if [[ -f "$file" ]]; then - echo "OK - \"$file\" exists." + echo "OK - file exists: \"$file\"" exit 0 else - echo "CRITICAL - \"$file\" does not exist." + echo "CRITICAL - file does not exist: \"$file\"" exit 2 fi