mirror of
https://github.com/neovim/neovim.git
synced 2025-09-24 03:58:32 +00:00
Macro cleanup: HAVE_SANDBOX
This commit is contained in:

committed by
Justin M. Keyes

parent
0dd1ad0760
commit
357583ff8c
@@ -3396,16 +3396,13 @@ int check_secure(void)
|
||||
EMSG(_(e_curdir));
|
||||
return TRUE;
|
||||
}
|
||||
#ifdef HAVE_SANDBOX
|
||||
/*
|
||||
* In the sandbox more things are not allowed, including the things
|
||||
* disallowed in secure mode.
|
||||
*/
|
||||
|
||||
// In the sandbox more things are not allowed, including the things
|
||||
// disallowed in secure mode.
|
||||
if (sandbox != 0) {
|
||||
EMSG(_(e_sandbox));
|
||||
return TRUE;
|
||||
}
|
||||
#endif
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user