summaryrefslogtreecommitdiff
path: root/source/n/rdist/rdist-6.1.5-10.ssh.diff
blob: f70beb9bfda5d25ce921351fd7f69d84ec6867d1 (plain)
1
2
3
4
5
6
7
8
9
--- rdist-6.1.5/src/rshrcmd.c.dist	Tue Dec 12 08:20:56 1995
+++ rdist-6.1.5/src/rshrcmd.c	Wed Dec 11 07:14:13 1996
@@ -64,5 +64,5 @@
 		   sp[0]. */
 		(void) close(sp[0]);
-		if (dup2(sp[1], 0) < 0 || dup2(0,1) < 0 || dup2(0, 2) < 0) {
+		if (dup2(sp[1], 0) < 0 || dup2(0,1) < 0) {
 			error("dup2 failed: %s.", SYSERR);
 			_exit(255);