bin/start-ssh-agent: Don't proceed if the SSH programs aren't around.
authorMark Wooding <mdw@distorted.org.uk>
Wed, 6 May 2020 18:36:02 +0000 (19:36 +0100)
committerMark Wooding <mdw@distorted.org.uk>
Wed, 6 May 2020 18:38:13 +0000 (19:38 +0100)
commitd3e29c31df16ad479824cc9e2dac7897af7c9e9b
tree5e9e08c8ff642b341a0e67a59b0ca90fc8e64a57
parent3782446f0bbdc76405aadc6c73f78ce37153fd55
bin/start-ssh-agent: Don't proceed if the SSH programs aren't around.

Otherwise, when I enter an schroot session, there's no `ssh-add'
installed, so the `is the agent running' test /fails/, we delete the
socket, and then fail to start a replacement agent because `ssh-agent'
doesn't exist either.  The result is that I've now lost my socket for
my (otherwise completely functional) agent, and there is sadness.
bin/start-ssh-agent