summaryrefslogtreecommitdiffstats
path: root/src/optionstr.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/optionstr.c')
-rw-r--r--src/optionstr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/optionstr.c b/src/optionstr.c
index 49d23b06e5..fa23a9c6a6 100644
--- a/src/optionstr.c
+++ b/src/optionstr.c
@@ -677,7 +677,7 @@ did_set_string_option(
|| sandbox != 0
#endif
) && (get_option_flags(opt_idx) & P_SECURE))
- errmsg = e_secure;
+ errmsg = e_not_allowed_here;
// Check for a "normal" directory or file name in some options. Disallow a
// path separator (slash and/or backslash), wildcards and characters that