mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-03-03 01:40:17 -05:00
main: get exit value from wayland struct
This commit is contained in:
parent
644585a3e5
commit
b7546abca9
1 changed files with 3 additions and 2 deletions
5
main.c
5
main.c
|
|
@ -158,9 +158,10 @@ main(int argc, char *const *argv)
|
||||||
out:
|
out:
|
||||||
shm_fini();
|
shm_fini();
|
||||||
|
|
||||||
int child_ret = EXIT_SUCCESS;
|
|
||||||
tll_foreach(wayl->terms, it)
|
tll_foreach(wayl->terms, it)
|
||||||
child_ret = term_destroy(it->item);
|
term_destroy(it->item);
|
||||||
|
|
||||||
|
int child_ret = wayl->last_exit_value;
|
||||||
|
|
||||||
wayl_destroy(wayl);
|
wayl_destroy(wayl);
|
||||||
fdm_destroy(fdm);
|
fdm_destroy(fdm);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue