aboutsummaryrefslogtreecommitdiff
path: root/rd
diff options
context:
space:
mode:
authorJohn Ankarström <john@ankarstrom.se>2021-07-14 10:34:57 +0200
committerJohn Ankarström <john@ankarstrom.se>2021-07-14 14:20:31 +0200
commita0386a1ddade88187b415ba7a54906b28a021310 (patch)
tree56e13572c0334facf451c75082a7d48c83febab2 /rd
parent31a3bbafb41b3696077881b779f94d6f4cafb436 (diff)
downloadrtty-a0386a1ddade88187b415ba7a54906b28a021310.tar.gz
rd: Remove named pipes at start
Diffstat (limited to 'rd')
-rwxr-xr-xrd2
1 files changed, 1 insertions, 1 deletions
diff --git a/rd b/rd
index 3279929..03ff755 100755
--- a/rd
+++ b/rd
@@ -2,6 +2,6 @@
in=/var/tmp/r.in
out=/var/tmp/r.out
+rm $in $out 2>/dev/null
mkfifo $in $out
-#trap "rm $in $out" EXIT
<$in 2>&1 >$out ssh "$@"