From 51870b63f2afad866551010d74a0b0e1758a5956 Mon Sep 17 00:00:00 2001 From: Matthias Beyer Date: Wed, 6 Jan 2016 19:25:26 +0100 Subject: [PATCH] Add reporting implementation --- src/main.rs | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/main.rs b/src/main.rs index 436435bc..5bb80a42 100644 --- a/src/main.rs +++ b/src/main.rs @@ -68,4 +68,12 @@ fn main() { }; info!("{}", Yellow.paint(format!("Module execution ended with {}", res))); + + if rt.report_exit() { + if res { + println!("Ok"); + } else { + println!("Error"); + } + } }