mirror of
https://github.com/OpenVPN/openvpn3.git
synced 2024-09-20 12:12:15 +02:00
RunContext: ASIO SIGNAL message now shows signal name rather than number
Signed-off-by: James Yonan <james@openvpn.net>
This commit is contained in:
parent
ebfce58513
commit
4fa8348689
@ -46,6 +46,7 @@
|
||||
#include <openvpn/common/stop.hpp>
|
||||
#include <openvpn/common/environ.hpp>
|
||||
#include <openvpn/common/number.hpp>
|
||||
#include <openvpn/common/signal_name.hpp>
|
||||
#include <openvpn/asio/asiosignal.hpp>
|
||||
#include <openvpn/time/time.hpp>
|
||||
#include <openvpn/time/asiotimer.hpp>
|
||||
@ -349,7 +350,7 @@ namespace openvpn {
|
||||
{
|
||||
if (!error && !halt)
|
||||
{
|
||||
OPENVPN_LOG("ASIO SIGNAL " << signum);
|
||||
OPENVPN_LOG("ASIO SIGNAL: " << signal_name(signum));
|
||||
switch (signum)
|
||||
{
|
||||
case SIGINT:
|
||||
|
Loading…
Reference in New Issue
Block a user