diff options
Diffstat (limited to 'libbuild2/script/script.hxx')
-rw-r--r-- | libbuild2/script/script.hxx | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/libbuild2/script/script.hxx b/libbuild2/script/script.hxx index 31527a0..d751169 100644 --- a/libbuild2/script/script.hxx +++ b/libbuild2/script/script.hxx @@ -314,7 +314,9 @@ namespace build2 script::cleanups cleanups; - command_exit exit {exit_comparison::eq, 0}; + // If nullopt, then the command is expected to succeed (0 exit code). + // + optional<command_exit> exit; }; enum class command_to_stream: uint16_t |