adjust output
This commit is contained in:
parent
59e057ea7e
commit
2055e4161e
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue