openvpn_execve_check() expects a set of flags as third argument and not
a loglevel. For this reason, if no FATAL behaviour is expected, we
should simply pass 0. openvpn_execve_check() will then pick the
appropriate loglevel on its own.
Signed-off-by: Antonio Quartulli <a@unstable.cc>
Acked-by: Gert Doering <gert@greenie.muc.de>
Message-Id: <
20220407201411.22486-1-a@unstable.cc>
URL: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg24090.html
Signed-off-by: Gert Doering <gert@greenie.muc.de>
iproute_path, MAC_PRINT_ARG(addr), iface);
argv_msg(M_INFO, &argv);
- if (!openvpn_execve_check(&argv, ctx->es, M_WARN,
+ if (!openvpn_execve_check(&argv, ctx->es, 0,
"Linux ip link set addr failed"))
{
ret = -1;