diff options
| author | tv <tv@krebsco.de> | 2026-11-13 20:36:10 +0000 |
|---|---|---|
| committer | tv <tv@krebsco.de> | 2026-11-13 22:01:46 +0100 |
| commit | ce2cd2553a937d84f1a78386ab28502e89f247d6 (patch) | |
| tree | fd598a289771894a6eb82157d192a5fa4f784b3f /pkgs/populate/src/flake.rs | |
| parent | 7768c71fd8083ea21572de2859fed39c17524baf (diff) | |
populate: exit with the status of the command that failed
The shell implementation runs under set -e, so it exits with the status
of the command that failed, e.g. 255 if ssh can't reach the target,
which wrappers retrying on connection failures rely on, or 128 if git
fetch fails. The program does the same, instead of exiting with 1, and
with 128 plus the signal for a command a signal ended.
A phase's expect.status is the exit status it expects populate to fail
with; git-status checks git fetch's.
Diffstat (limited to 'pkgs/populate/src/flake.rs')
0 files changed, 0 insertions, 0 deletions
