summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen White <ben@cuckoo.org>2017-03-22 12:55:55 +0000
committerBen White <ben@cuckoo.org>2017-03-22 12:55:55 +0000
commit565069279026eb99f10c674c3c9ddbc015b07cae (patch)
tree0a39ca943928a4083d350f284faba63055a978f1
parentc37005e74c0fffdc497ad86645f0a7bb15119d8b (diff)
fix for auto-reload. 'read' doesn't block when stdin not attached to anything
-rwxr-xr-xextra/auto-reload-config.runit2
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