diff options
Diffstat (limited to 'tests/remote-store.sh')
-rw-r--r-- | tests/remote-store.sh | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/remote-store.sh b/tests/remote-store.sh index 1e5a4356e5e1..260fdeb764a9 100644 --- a/tests/remote-store.sh +++ b/tests/remote-store.sh @@ -12,6 +12,8 @@ clearStore clearManifests $nixworker --daemon & pidDaemon=$! +trap "kill -9 $pidDaemon" EXIT NIX_REMOTE=daemon $SHELL ./user-envs.sh kill -9 $pidDaemon wait $pidDaemon || true +trap "" EXIT |