diff options
author | Profpatsch <mail@profpatsch.de> | 2021-02-06T21·23+0100 |
---|---|---|
committer | Profpatsch <mail@profpatsch.de> | 2021-02-06T21·38+0000 |
commit | 7d28f121c7baba31f5bd731de8aff023fa23bdc0 (patch) | |
tree | 8224bf4fff1fc930a76432873a12daec14cda3fe /bin/depot-build | |
parent | 42974ddd6494097bf8a85a123b8637115977dda4 (diff) |
fix(users/Profpatsch/execline): fix exec_into_args off-by-1 r/2185
We expect the users to pass an actual prog, not an argv, so 0 is the program to exec into. Also improve the exec error, by including the program we tried to exec into (the rust IO error doesn’t contain the name). Change-Id: I664f9f717e4f82bfc1b1da3bd7114124b7582d5f Reviewed-on: https://cl.tvl.fyi/c/depot/+/2489 Reviewed-by: Profpatsch <mail@profpatsch.de> Tested-by: BuildkiteCI
Diffstat (limited to 'bin/depot-build')
0 files changed, 0 insertions, 0 deletions