forked from lix-project/lix
Check _NIX_TEST_NO_SANDBOX when setting _canUseSandbox.
This commit is contained in:
parent
b8e8dfc3e8
commit
c1d39de1fb
|
@ -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