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