about summary refs log tree commit diff
path: root/src/libstore/crypto.hh
diff options
context:
space:
mode:
authorProfpatsch <mail@profpatsch.de>2019-12-12T14·15+0100
committerEelco Dolstra <edolstra@gmail.com>2020-04-10T08·45+0200
commit7afd8321edbf94d19caa76b668133ae3d0e58eb3 (patch)
treefef20a6800ce7175fcf2f49a323c9d33097e1eab /src/libstore/crypto.hh
parent2007b4a89beca10326c6d94c7763d607eacc7710 (diff)
libstore/ssh: Improve error message on failing `execvp`
If the `throw` is reached, this means that execvp into `ssh` wasn’t
successful. We can hint at a usual problem, which is a missing `ssh`
executable.

Test with:

```
env PATH= ./result/bin/nix-copy-closure --builders '' unusedhost
```

and the bash version with

```
env PATH= ./result/bin/nix-copy-closure --builders '' localhost
```

(cherry picked from commit 38b29fb72ca4a07afbec1fd5067f59ca7d7f0fab)
Diffstat (limited to 'src/libstore/crypto.hh')
0 files changed, 0 insertions, 0 deletions