aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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