itamae/cookbooks/consul/files/usr/lib/nagios/plugins/check_file

10 lines
70 B
Plaintext
Raw Permalink Normal View History

2019-03-03 08:50:49 +00:00
#!/bin/bash
TARGET=$1
if [ -f ${TARGET} ]; then
exit 1
fi
exit 0