diff --git a/src/main.cpp b/src/main.cpp
index 2475a70..ae20233 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -55,10 +55,11 @@ int main() {
   std::cout << "Finished"
             << "\n";
 
-  if (outcome == 1)
+  if (outcome == 1) {
     std::cout << "Sim Result = Success!";
-  else if (outcome == 0)
+    return 0;
+  } else if (outcome == 0) {
     std::cout << "Sim Result = Failed!";
-
-  return 0;
+    return 1;
+  }
 }
\ No newline at end of file