]> git.ipfire.org Git - thirdparty/openvpn.git/commitdiff
Provide more accurate warning message
authorDavide Brini <dave_br@gmx.com>
Thu, 30 May 2013 14:20:55 +0000 (16:20 +0200)
committerGert Doering <gert@greenie.muc.de>
Thu, 30 May 2013 19:20:29 +0000 (21:20 +0200)
Very simple fix.

Acked-by: Gert Doering <gert@greenie.muc.de>
Message-Id: <0LzcMG-1ULZ4T0Fuc-014gq9@mail.gmx.com>
URL: http://article.gmane.org/gmane.network.openvpn.devel/7628

Signed-off-by: Gert Doering <gert@greenie.muc.de>
(cherry picked from commit 3600996534c30978a7b0e9ddbe5e9743e6423d1a)

src/openvpn/init.c

index a43244232d896e9f7b3829124ecee1f4a267a005..ba1fdce746b59eb1a8638c916caea406d61cb5b0 100644 (file)
@@ -2497,7 +2497,7 @@ do_option_warnings (struct context *c)
      else if (script_security >= SSEC_PW_ENV)
        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");
+       msg (M_WARN, "NOTE: starting with " PACKAGE_NAME " 2.1, '--script-security 2' or higher is required to call user-defined scripts or executables");
    }
 }