diff options
author | ytti <saku@ytti.fi> | 2017-03-22 15:01:20 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-03-22 15:01:20 +0200 |
commit | 5c5e8e0ee15f4b8098a7e01ee5b2da8fe0d1ed8e (patch) | |
tree | 0a39ca943928a4083d350f284faba63055a978f1 | |
parent | c37005e74c0fffdc497ad86645f0a7bb15119d8b (diff) | |
parent | 565069279026eb99f10c674c3c9ddbc015b07cae (diff) |
Merge pull request #778 from biwhite/fix-auto-reload
fix for auto-reload. 'read' doesn't block when stdin not attached
-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 |