From 8011768b96bad848b6d731a075674596167642f5 Mon Sep 17 00:00:00 2001 From: Jonathan Naylor Date: Sat, 31 Aug 2024 19:52:09 +0100 Subject: [PATCH] Fix signal logging. --- DGIdGateway/DGIdGateway.cpp | 4 +++- DGIdGateway/Version.h | 2 +- YSFGateway/Version.h | 2 +- YSFGateway/YSFGateway.cpp | 4 +++- YSFParrot/Version.h | 2 +- 5 files changed, 9 insertions(+), 5 deletions(-) diff --git a/DGIdGateway/DGIdGateway.cpp b/DGIdGateway/DGIdGateway.cpp index 447f76b..5a023e2 100644 --- a/DGIdGateway/DGIdGateway.cpp +++ b/DGIdGateway/DGIdGateway.cpp @@ -1,5 +1,5 @@ /* -* Copyright (C) 2016-2020 by Jonathan Naylor G4KLX +* Copyright (C) 2016-2020,2024 by Jonathan Naylor G4KLX * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -110,6 +110,8 @@ int main(int argc, char** argv) delete gateway; switch (m_signal) { + case 0: + break; case 2: ::LogInfo("DGIdGateway-%s exited on receipt of SIGINT", VERSION); break; diff --git a/DGIdGateway/Version.h b/DGIdGateway/Version.h index 5ea5e86..ba5f154 100644 --- a/DGIdGateway/Version.h +++ b/DGIdGateway/Version.h @@ -19,6 +19,6 @@ #if !defined(VERSION_H) #define VERSION_H -const char* VERSION = "20240708"; +const char* VERSION = "20240831"; #endif diff --git a/YSFGateway/Version.h b/YSFGateway/Version.h index 5ea5e86..ba5f154 100644 --- a/YSFGateway/Version.h +++ b/YSFGateway/Version.h @@ -19,6 +19,6 @@ #if !defined(VERSION_H) #define VERSION_H -const char* VERSION = "20240708"; +const char* VERSION = "20240831"; #endif diff --git a/YSFGateway/YSFGateway.cpp b/YSFGateway/YSFGateway.cpp index 65662d3..05aa591 100644 --- a/YSFGateway/YSFGateway.cpp +++ b/YSFGateway/YSFGateway.cpp @@ -1,5 +1,5 @@ /* -* Copyright (C) 2016-2020 by Jonathan Naylor G4KLX +* Copyright (C) 2016-2020,2024 by Jonathan Naylor G4KLX * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -97,6 +97,8 @@ int main(int argc, char** argv) delete gateway; switch (m_signal) { + case 0: + break; case 2: ::LogInfo("YSFGateway-%s exited on receipt of SIGINT", VERSION); break; diff --git a/YSFParrot/Version.h b/YSFParrot/Version.h index b09e89a..b2429d9 100644 --- a/YSFParrot/Version.h +++ b/YSFParrot/Version.h @@ -19,6 +19,6 @@ #if !defined(VERSION_H) #define VERSION_H -const char* VERSION = "20240708"; +const char* VERSION = "20240831"; #endif