Merge pull request #131 from nweisenfeld/nweisenfeld/correct-SIGHUP-handling

Fix SIGHUP treatment to loop/restart as intended
This commit is contained in:
Jonathan Naylor
2024-08-28 15:47:32 +01:00
committed by GitHub

View File

@@ -101,6 +101,7 @@ int main(int argc, char** argv)
do {
m_signal = 0;
m_killed = false; // restart, don't exit, if looping from SIGHUP (1)
CDMRGateway* host = new CDMRGateway(std::string(iniFile));
ret = host->run();