diff options
| author | Daniel Eklöf <daniel@ekloef.se> | 2019-10-30 19:26:08 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2019-10-30 19:26:08 +0000 |
| commit | b7546abca9828fb9017b801ed00a1d4f97044a2a (patch) | |
| tree | 65699c9a37e9b18eb6342942b3b900965df86176 /main.c | |
| parent | term: term_shutdown(): set exit value in wayland (diff) | |
main: get exit value from wayland struct
Diffstat (limited to 'main.c')
| -rw-r--r-- | main.c | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -158,9 +158,10 @@ main(int argc, char *const *argv) out: shm_fini(); - int child_ret = EXIT_SUCCESS; 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); fdm_destroy(fdm); |
