From 8b7b3fcbe7252dff7cff4251d942f51a9d5272c1 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