mirror of
https://github.com/g4klx/DMRGateway
synced 2025-12-29 10:25:41 +08:00
Merge pull request #131 from nweisenfeld/nweisenfeld/correct-SIGHUP-handling
Fix SIGHUP treatment to loop/restart as intended
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user