mirror of
https://git.kernel.org/pub/scm/network/wireless/iwd.git
synced 2024-11-22 06:29:23 +01:00
monitor: Update to new l_main api
This commit is contained in:
parent
ee00ac6541
commit
6de565db05
@ -759,6 +759,9 @@ int main(int argc, char *argv[])
|
||||
return EXIT_FAILURE;
|
||||
}
|
||||
|
||||
if (!l_main_init())
|
||||
return EXIT_FAILURE;
|
||||
|
||||
sigemptyset(&mask);
|
||||
sigaddset(&mask, SIGINT);
|
||||
sigaddset(&mask, SIGTERM);
|
||||
@ -813,5 +816,7 @@ done:
|
||||
l_signal_remove(signal);
|
||||
l_free(timeout);
|
||||
|
||||
l_main_exit();
|
||||
|
||||
return exit_status;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user