summaryrefslogtreecommitdiffstats
path: root/krb5-1.3-netkit-rsh.patch
blob: 6c044d3e83038b23528b20bd3f3199aa4b96252b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
We ship netkit rsh, which isn't smart enough to deal with the oddball case
where argv[0] is an option flag.

--- krb5-1.3/src/appl/bsd/krsh.c
+++ krb5-1.3/src/appl/bsd/krsh.c
@@ -616,8 +616,10 @@
     else
       host = argv[0];
     
+#ifdef BERKELEY_RSH
     if (!strcmp(host, "rsh"))
       argv++;
+#endif
     
     fprintf(stderr,"trying normal rsh (%s)\n",
 	    UCB_RSH);