From 7777532cebcfa9abc5ab2c7beae77f386feed3ca Mon Sep 17 00:00:00 2001 From: georg3tom Date: Mon, 9 Mar 2020 02:20:20 +0530 Subject: Removed restricted mode - Fix #11972 --- src/nvim/misc1.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/nvim/misc1.c') diff --git a/src/nvim/misc1.c b/src/nvim/misc1.c index 1cd9ff2c4d..fcffe64595 100644 --- a/src/nvim/misc1.c +++ b/src/nvim/misc1.c @@ -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(); -- cgit