redirect stdout to /dev/null

* avoid spamming stdout with messages when one (or more)
  websocket listeners are connected and data is received.

see #892
This commit is contained in:
Bernhard B 2026-10-09 15:45:45 +02:00
parent 72580cdef5
commit a8d6bd664b

View File

@ -7,4 +7,5 @@ if [ "$MODE" != "json-rpc" ] && [ "$MODE" != "json-rpc-native" ]; then
exit 0
fi
exec 1>/dev/null
exec jsonrpc2-helper