diff options
Diffstat (limited to 'options.c')
-rw-r--r-- | options.c | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -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); |