Skip to content

Commit

Permalink
buildFHSEnvOverlay: remove --fork --kill-child
Browse files Browse the repository at this point in the history
We don't use PID namespaces so they're not needed.
  • Loading branch information
nbdd0121 committed Oct 11, 2024
1 parent 764a760 commit 56b0dce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/buildFHSEnvOverlay.nix
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@

init = writeShellScript "${name}-init" initCmd;
bin = writeShellScript "${name}-wrap" ''
${util-linux}/bin/unshare --map-current-user --mount --keep-caps --fork --kill-child -- ${init} "$@"
${util-linux}/bin/unshare --map-current-user --mount --keep-caps -- ${init} "$@"
'';
in
runCommandLocal name {
Expand Down

0 comments on commit 56b0dce

Please sign in to comment.