summaryrefslogtreecommitdiffstats
path: root/src/ex_cmds.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2019-02-08 14:34:10 +0100
committerBram Moolenaar <Bram@vim.org>2019-02-08 14:34:10 +0100
commit8c62a08faf89663e5633dc5036cd8695c80f1075 (patch)
treeaf5faafe055ea91f652f006d05a29a2dd5c8521b /src/ex_cmds.c
parentc6ddce3f2cf6daa3a545405373b661f8a9bccad9 (diff)
patch 8.1.0881: can execute shell commands in rvim through interfacesv8.1.0881
Problem: Can execute shell commands in rvim through interfaces. Solution: Disable using interfaces in restricted mode. Allow for writing file with writefile(), histadd() and a few others.
Diffstat (limited to 'src/ex_cmds.c')
-rw-r--r--src/ex_cmds.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ex_cmds.c b/src/ex_cmds.c
index a3974c1bad..681ef422a9 100644
--- a/src/ex_cmds.c
+++ b/src/ex_cmds.c
@@ -4775,7 +4775,7 @@ check_restricted(void)
{
if (restricted)
{
- emsg(_("E145: Shell commands not allowed in rvim"));
+ emsg(_("E145: Shell commands and some functionality not allowed in rvim"));
return TRUE;
}
return FALSE;