adjust output
This commit is contained in:
parent
59e057ea7e
commit
2055e4161e
|
@ -16,9 +16,9 @@ fi
|
||||||
|
|
||||||
# Check if file exists
|
# Check if file exists
|
||||||
if [[ -f "$file" ]]; then
|
if [[ -f "$file" ]]; then
|
||||||
echo "OK - \"$file\" exists."
|
echo "OK - file exists: \"$file\""
|
||||||
exit 0
|
exit 0
|
||||||
else
|
else
|
||||||
echo "CRITICAL - \"$file\" does not exist."
|
echo "CRITICAL - file does not exist: \"$file\""
|
||||||
exit 2
|
exit 2
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in New Issue