aboutsummaryrefslogtreecommitdiff
path: root/tests/build-hook-ca-floating.nix
diff options
context:
space:
mode:
authorEelco Dolstra <edolstra@gmail.com>2023-03-09 16:44:51 +0100
committerEelco Dolstra <edolstra@gmail.com>2023-03-09 16:44:51 +0100
commit4f3a4b732cdc8a0179b0da9cccafef0b215a4e86 (patch)
tree684d896b5d7aa15d376d8a867b57cbf98e9fce82 /tests/build-hook-ca-floating.nix
parentc44750982d7a271c8444819377ab972af8946e5d (diff)
Make findRuntimeRoots() more resilient to disappearing processes
I saw this random failure in https://hydra.nixos.org/build/211811692: error: opening /proc/15307/fd: No such process while running nix-collect-garbage in a readfile-context.sh. This is because we're not handling ESRCH errors reading /proc/<pid>/fd. So just move the read inside the try/catch where we do handle it.
Diffstat (limited to 'tests/build-hook-ca-floating.nix')
0 files changed, 0 insertions, 0 deletions