Revert "Check _NIX_TEST_NO_SANDBOX when setting _canUseSandbox."

This reverts commit c1d39de1fb.
This commit is contained in:
John Ericson 2023-07-13 15:06:34 -04:00
parent ddc0a2050b
commit 9e64f24340

View file

@ -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