From 565069279026eb99f10c674c3c9ddbc015b07cae Mon Sep 17 00:00:00 2001 From: Ben White Date: Wed, 22 Mar 2017 12:55:55 +0000 Subject: fix for auto-reload. 'read' doesn't block when stdin not attached to anything --- extra/auto-reload-config.runit | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'extra') diff --git a/extra/auto-reload-config.runit b/extra/auto-reload-config.runit index 5eaecc8..cf6e7c2 100755 --- a/extra/auto-reload-config.runit +++ b/extra/auto-reload-config.runit @@ -2,7 +2,7 @@ if [ -z "$CONFIG_RELOAD_INTERVAL" ]; then # Just stop and do nothing - read + sleep infinity fi while true; do -- cgit v1.2.1