rx: theres no p9sk2 anymore

This commit is contained in:
cinap_lenrek 2016-01-06 06:00:22 +01:00
parent dc96f164a2
commit 094f0c9601

View file

@ -59,15 +59,10 @@ main(int argc, char *argv[])
host = argv[0];
args = buildargs(&argv[1]);
/* try rexexec p9any then dial again with p9sk2 */
fd = call(0, host, "rexexec", &addr);
if(fd >= 0)
rex(fd, args, "p9any");
close(fd);
fd = call(0, host, "rexexec", &addr);
if(fd >= 0)
rex(fd, args, "p9sk2");
close(fd);
/* if there's an ssh port, try that */
fd = call("tcp", host, "ssh", &addr);