mirror of
https://github.com/g4klx/DMRGateway.git
synced 2025-12-06 05:32:01 +01:00
Merge pull request #131 from nweisenfeld/nweisenfeld/correct-SIGHUP-handling
Fix SIGHUP treatment to loop/restart as intended
This commit is contained in:
commit
e1e41be3a0
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Reference in a new issue