mirror of
https://github.com/neovim/neovim.git
synced 2025-09-26 21:18:34 +00:00
Removed restricted mode - Fix #11972
This commit is contained in:
@@ -1091,8 +1091,9 @@ char_u *get_cmd_output(char_u *cmd, char_u *infile, ShellOpts flags,
|
||||
{
|
||||
char_u *buffer = NULL;
|
||||
|
||||
if (check_restricted() || check_secure())
|
||||
if (check_secure()) {
|
||||
return NULL;
|
||||
}
|
||||
|
||||
// get a name for the temp file
|
||||
char_u *tempname = vim_tempname();
|
||||
|
Reference in New Issue
Block a user