mirror of
https://github.com/NixOS/nix.git
synced 2024-11-25 16:23:02 +00:00
Revert "Check _NIX_TEST_NO_SANDBOX when setting _canUseSandbox."
This reverts commit c1d39de1fb
.
This commit is contained in:
parent
ddc0a2050b
commit
9e64f24340
@ -141,7 +141,7 @@ restartDaemon() {
|
||||
startDaemon
|
||||
}
|
||||
|
||||
if [[ -z "${_NIX_TEST_NO_SANDBOX:-}" ]] && [[ $(uname) == Linux ]] && [[ -L /proc/self/ns/user ]] && unshare --user true; then
|
||||
if [[ $(uname) == Linux ]] && [[ -L /proc/self/ns/user ]] && unshare --user true; then
|
||||
_canUseSandbox=1
|
||||
fi
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user