Check for disabled file in state

This commit is contained in:
Neale Pickett 2017-10-30 16:20:51 +00:00
parent 1a74c3944a
commit 6865268b37
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