diff options
author | Profpatsch <mail@profpatsch.de> | 2019-12-12T14·15+0100 |
---|---|---|
committer | Eelco Dolstra <edolstra@gmail.com> | 2020-04-10T08·45+0200 |
commit | 7afd8321edbf94d19caa76b668133ae3d0e58eb3 (patch) | |
tree | fef20a6800ce7175fcf2f49a323c9d33097e1eab /release.nix | |
parent | 2007b4a89beca10326c6d94c7763d607eacc7710 (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 'release.nix')
0 files changed, 0 insertions, 0 deletions