summaryrefslogtreecommitdiff
path: root/src/core/manager.h
diff options
context:
space:
mode:
authorAlban Crequy <alban.crequy@gmail.com>2015-09-21 17:51:21 +0200
committerAlban Crequy <alban.crequy@gmail.com>2015-09-21 17:51:21 +0200
commit0c5c00f6efffd3c2e7cef659eb9a928f70b844f0 (patch)
treee7f4c01e50b7b944b9d9d0ed8290ead8762da906 /src/core/manager.h
parenta1b7a5bbdd8da94e41b5e79be7a6e853ae910d2b (diff)
parent287419c119ef961db487a281162ab037eba70c61 (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.h5
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;