diff options
author | Alban Crequy <alban.crequy@gmail.com> | 2015-09-21 17:51:21 +0200 |
---|---|---|
committer | Alban Crequy <alban.crequy@gmail.com> | 2015-09-21 17:51:21 +0200 |
commit | 0c5c00f6efffd3c2e7cef659eb9a928f70b844f0 (patch) | |
tree | e7f4c01e50b7b944b9d9d0ed8290ead8762da906 /src/core/manager.h | |
parent | a1b7a5bbdd8da94e41b5e79be7a6e853ae910d2b (diff) | |
parent | 287419c119ef961db487a281162ab037eba70c61 (diff) |
Merge pull request #1318 from alban/alban/container-exit-code4
containers: systemd exits with non-zero code
Diffstat (limited to 'src/core/manager.h')
-rw-r--r-- | src/core/manager.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/core/manager.h b/src/core/manager.h index b955982100..1384eb33a4 100644 --- a/src/core/manager.h +++ b/src/core/manager.h @@ -242,6 +242,11 @@ struct Manager { bool test_run:1; + /* If non-zero, exit with the following value when the systemd + * process terminate. Useful for containers: systemd-nspawn could get + * the return value. */ + uint8_t return_value; + ShowStatus show_status; bool confirm_spawn; bool no_console_output; |