itamae/cookbooks/consul/files/usr/local/bin/check_file

10 lines
70 B
Plaintext
Raw Normal View History

2020-09-21 16:38:34 +00:00
#!/bin/bash
TARGET=$1
if [ -f ${TARGET} ]; then
exit 1
fi
exit 0