about summary refs log tree commit diff
path: root/users/Profpatsch/nixpkgs-rewriter
diff options
context:
space:
mode:
authorProfpatsch <mail@profpatsch.de>2021-02-06T21·23+0100
committerProfpatsch <mail@profpatsch.de>2021-02-06T21·38+0000
commit7d28f121c7baba31f5bd731de8aff023fa23bdc0 (patch)
tree8224bf4fff1fc930a76432873a12daec14cda3fe /users/Profpatsch/nixpkgs-rewriter
parent42974ddd6494097bf8a85a123b8637115977dda4 (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 'users/Profpatsch/nixpkgs-rewriter')
0 files changed, 0 insertions, 0 deletions