summaryrefslogtreecommitdiffstats
path: root/src/main.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.rs')
-rw-r--r--src/main.rs8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/main.rs b/src/main.rs
index 2b275895..08d2ffcf 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -69,4 +69,12 @@ fn main() {
};
info!("{}", Yellow.paint(format!("Module execution ended with {}", res)));
+
+ if rt.report_exit() {
+ if res {
+ println!("Ok");
+ } else {
+ println!("Error");
+ }
+ }
}