mirror of
https://github.com/g4klx/DMRGateway.git
synced 2026-04-21 06:13:47 +00: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
1 changed files with 1 additions and 0 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue