From 6865268b37ee5b035d4c779663f818bc44c199b9 Mon Sep 17 00:00:00 2001 From: Neale Pickett Date: Mon, 30 Oct 2017 16:20:51 +0000 Subject: [PATCH] Check for disabled file in state --- bin/once | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/once b/bin/once index c218aed..03e7f76 100755 --- a/bin/once +++ b/bin/once @@ -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