summaryrefslogtreecommitdiff
path: root/scsh-process.scm
diff options
context:
space:
mode:
Diffstat (limited to 'scsh-process.scm')
-rw-r--r--scsh-process.scm2
1 files changed, 1 insertions, 1 deletions
diff --git a/scsh-process.scm b/scsh-process.scm
index 88404a9..c5a286c 100644
--- a/scsh-process.scm
+++ b/scsh-process.scm
@@ -432,7 +432,7 @@
(fd-to (if (port? fd/port-to)
(port->fileno fd/port-to)
fd/port-to)))
- (duplicate-fileno ?fd-from fd-to)))
+ (duplicate-fileno fd-to ?fd-from)))
((_ (- ?fd/port))
(let ((o `?fd/port))
(cond