aboutsummaryrefslogtreecommitdiff
path: root/src/interfaces
diff options
context:
space:
mode:
authorfurszy <matiasfurszyfer@protonmail.com>2023-06-08 12:16:23 -0300
committerfurszy <matiasfurszyfer@protonmail.com>2023-06-10 11:10:29 -0300
commit4927167f855f8ed3bbf6d2766f61229f742e632a (patch)
treed6cc80afde57f8374588f492d8cdcde471b4a80b /src/interfaces
parent3b2c61e8198bcefb1c2343caff1d705951026cc4 (diff)
gui: return EXIT_FAILURE on post-init fatal errors
Diffstat (limited to 'src/interfaces')
-rw-r--r--src/interfaces/node.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/interfaces/node.h b/src/interfaces/node.h
index 7e87d5a523..f074214569 100644
--- a/src/interfaces/node.h
+++ b/src/interfaces/node.h
@@ -80,6 +80,9 @@ public:
//! Get warnings.
virtual bilingual_str getWarnings() = 0;
+ //! Get exit status.
+ virtual int getExitStatus() = 0;
+
// Get log flags.
virtual uint32_t getLogCategories() = 0;