From 2c81662a4af1e280ee2f410229181d65740124d1 Mon Sep 17 00:00:00 2001
From: aheinri5 <Anna@netzkritzler.de>
Date: Sun, 21 Feb 2021 15:01:42 +0100
Subject: [PATCH] [base] exit codes return visibly now

---
 R/sim_utils.R | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/R/sim_utils.R b/R/sim_utils.R
index ba5a007..0147a6d 100644
--- a/R/sim_utils.R
+++ b/R/sim_utils.R
@@ -29,7 +29,7 @@ ogs6_run_simulation <- function(ogs6_obj,
 
     ogs6_read_output_files(ogs6_obj = ogs6_obj)
 
-    return(invisible(exit_code))
+    return(exit_code)
 }
 
 
@@ -177,7 +177,7 @@ ogs6_call_ogs6 <- function(ogs6_obj,
                              args = ogs6_args)
     }
 
-    return(invisible(exit_code))
+    return(exit_code)
 }
 
 
-- 
GitLab