Modified backend exit strategy so that 2nd ^C actually exits
Copied creator cvec if modified with REPLACE
This commit is contained in:
parent
53ceb35d51
commit
a1e7c6f126
5 changed files with 33 additions and 8 deletions
|
|
@ -158,6 +158,8 @@ backend_sig_term(int arg)
|
|||
if (i++ == 0)
|
||||
clicon_log(LOG_NOTICE, "%s: %s: pid: %u Signal %d",
|
||||
__PROGRAM__, __FUNCTION__, getpid(), arg);
|
||||
else
|
||||
exit(1);
|
||||
clixon_exit_set(1); /* checked in clixon_event_loop() */
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue