aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRyan Kavanagh <rak@debian.org>2018-07-24 15:07:09 -0400
committerRyan Kavanagh <rak@debian.org>2018-07-24 15:13:12 -0400
commit1146183cc607bfa831472903ec401f540fee65df (patch)
treed1d7045fda5364d5153d4c0e26465797b9fe4c4f
parentDon't set folder in .muttrc (diff)
Fix lbdb-fetchaddr-wrapper to no longer drop parts of messages
-rwxr-xr-xbin/lbdb-fetchaddr-wrapper6
1 files changed, 1 insertions, 5 deletions
diff --git a/bin/lbdb-fetchaddr-wrapper b/bin/lbdb-fetchaddr-wrapper
index 214228d..4503c5e 100755
--- a/bin/lbdb-fetchaddr-wrapper
+++ b/bin/lbdb-fetchaddr-wrapper
@@ -1,7 +1,3 @@
#!/bin/sh
-MSG=$(cat /dev/stdin)
-
-echo "$MSG" | lbdb-fetchaddr;
-
-echo "$MSG"
+{ tee /dev/fd/3 | lbdb-fetchaddr >&2; } 3>&1