Check for disabled file in state

This commit is contained in:
Neale Pickett 2017-10-30 16:20:51 +00:00
parent 570f305528
commit 8b7b3fcbe7
1 changed files with 1 additions and 1 deletions

View File

@ -12,7 +12,7 @@ log () {
}
# Do nothing if `disabled` is present
if [ -f disabled ]; then
if [ -f state/disabled ]; then
log "Instance disabled; doing nothing"
exit
fi