mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-10 08:16:15 +02:00
Check _NIX_TEST_NO_SANDBOX when setting _canUseSandbox.
This commit is contained in:
parent
32147c8c7b
commit
7ed0ab2dab
1 changed files with 1 additions and 1 deletions
|
@ -141,7 +141,7 @@ restartDaemon() {
|
|||
startDaemon
|
||||
}
|
||||
|
||||
if [[ $(uname) == Linux ]] && [[ -L /proc/self/ns/user ]] && unshare --user true; then
|
||||
if [[ -z "${_NIX_TEST_NO_SANDBOX:-}" ]] && [[ $(uname) == Linux ]] && [[ -L /proc/self/ns/user ]] && unshare --user true; then
|
||||
_canUseSandbox=1
|
||||
fi
|
||||
|
||||
|
|
Loading…
Reference in a new issue