diff options
Diffstat (limited to '')
-rw-r--r-- | init.c | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -523,7 +523,7 @@ void init_options_dev (struct options *options) { if (!options->dev) - options->dev = dev_component_in_dev_node (options->dev_node); + options->dev = openvpn_basename (options->dev_node); } bool @@ -2003,6 +2003,9 @@ do_option_warnings (struct context *c) msg (M_WARN, "WARNING: the current --script-security setting may allow passwords to be passed to scripts via environmental variables"); else msg (M_WARN, "NOTE: " PACKAGE_NAME " 2.1 requires '--script-security 2' or higher to call user-defined scripts or executables"); + + if (script_method == SM_SYSTEM) + msg (M_WARN, "NOTE: --script-security method='system' is deprecated due to the fact that passed parameters will be subject to shell expansion"); } static void |