diff options
author | Ben White <ben@cuckoo.org> | 2017-03-22 12:55:55 +0000 |
---|---|---|
committer | Ben White <ben@cuckoo.org> | 2017-03-22 12:55:55 +0000 |
commit | 565069279026eb99f10c674c3c9ddbc015b07cae (patch) | |
tree | 0a39ca943928a4083d350f284faba63055a978f1 | |
parent | c37005e74c0fffdc497ad86645f0a7bb15119d8b (diff) |
fix for auto-reload. 'read' doesn't block when stdin not attached to anything
-rwxr-xr-x | extra/auto-reload-config.runit | 2 |
1 files changed, 1 insertions, 1 deletions
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 |