aboutsummaryrefslogtreecommitdiff
path: root/options.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--options.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/options.c b/options.c
index a6b5ba5..a889eb5 100644
--- a/options.c
+++ b/options.c
@@ -3989,9 +3989,14 @@ add_option (struct options *options,
}
else if (streq (p[0], "setenv") && p[1] && p[2])
{
- VERIFY_PERMISSION (OPT_P_SETENV);
+ VERIFY_PERMISSION (OPT_P_GENERAL);
setenv_str (es, p[1], p[2]);
}
+ else if (streq (p[0], "setenv-safe") && p[1] && p[2])
+ {
+ VERIFY_PERMISSION (OPT_P_SETENV);
+ setenv_str_safe (es, p[1], p[2]);
+ }
else if (streq (p[0], "mssfix"))
{
VERIFY_PERMISSION (OPT_P_GENERAL);