https://bugzilla.mindrot.org/show_bug.cgi?id=2607

--- Comment #3 from Darren Tucker <[email protected]> ---
(In reply to Bert Wesarg from comment #2)
> I missed the initial discussion about -J, but why not using av[0]?

That's a better idea.  It doesn't cover all cases, but it might cover
enough.  The cases I can think of are:

1) full path: currently will exhibit the described behaviour, using
argv[0] would fix it.
2) relative path: ditto, assuming ssh(1) doesn't chdir, which I don't
think it does.
3) no path, $PATH set and exported.  should work.
4) no path, $PATH set but not exported.  could potentially pick up a
different ssh.

-- 
You are receiving this mail because:
You are watching the assignee of the bug.
You are watching someone on the CC list of the bug.
_______________________________________________
openssh-bugs mailing list
[email protected]
https://lists.mindrot.org/mailman/listinfo/openssh-bugs

Reply via email to