diff options
-rwxr-xr-x | notmuch-tcp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/notmuch-tcp b/notmuch-tcp index 57da3f5..d2f7a57 100755 --- a/notmuch-tcp +++ b/notmuch-tcp | |||
@@ -6,4 +6,4 @@ NOTMUCH_HOST=${NOTMUCH_HOST:-odin.asgard.yggdrasil} | |||
6 | 6 | ||
7 | cd ~/.notmuch-tcp | 7 | cd ~/.notmuch-tcp |
8 | 8 | ||
9 | @socat@/bin/socat STDIO,ignoreeof openssl:${NOTMUCH_HOST}:${NOTMUCH_TCP},verify=1,cafile=ca.pem,certificate=${HOST}.pem,key=${HOST}.key <<(print "${(@q)@}"; inp=$(cat); printf "%d\n" $(@coreutils@/bin/wc -c <<<"${inp}"); @coreutils@/bin/cat <<<"${inp}") | 9 | @socat@/bin/socat STDIO,ignoreeof openssl:${NOTMUCH_HOST}:${NOTMUCH_TCP},verify=1,cafile=ca.pem,certificate=${HOST}.pem,key=${HOST}.key <<(print "${(@q)@}"; inp=$(cat 2>&- || echo ""); printf "%d\n" $(@coreutils@/bin/wc -c <<<"${inp}"); @coreutils@/bin/cat <<<"${inp}") |