On 2023/09/14 11:55, Moritz Fain wrote: > > My initial reaction is that it's easy to run "rm -f" before starting > > the agent with the existing "-a" option.
same. also if there's an existing agent running you probably don't want to blindly remove the socket - and as the manual says "The sockets should get automatically removed when the agent exits" - this feels like it's trying to fix something in ssh-agent that should be the responsibility of some other layer... > @@ -2075,6 +2075,8 @@ main(int ac, char **av) > usage(); > D_flag++; > break; > + case 'A': > + A_flag = 1; _if_ this is done, it warrants a /* FALLTHROUGH */ comment here. > case 'a': > agentsocket = optarg; > break;