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
commit e1e41be3a0
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

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();