From cd16d2bb9313b0a392ce4f1dad039ddbb66d2768 Mon Sep 17 00:00:00 2001 From: Alex Lin Date: Wed, 11 Jan 2017 17:41:53 -0600 Subject: [PATCH] When doing input file verification the exit code is always 1. #335 After doing verification of the input file we return the exit code of the python processor. --- trick_source/sim_services/InputProcessor/src/IPPython.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/trick_source/sim_services/InputProcessor/src/IPPython.cpp b/trick_source/sim_services/InputProcessor/src/IPPython.cpp index 3ea0786f..2afe3a3a 100644 --- a/trick_source/sim_services/InputProcessor/src/IPPython.cpp +++ b/trick_source/sim_services/InputProcessor/src/IPPython.cpp @@ -123,7 +123,7 @@ int Trick::IPPython::init() { } if ( verify_input ) { - exec_terminate_with_return(1 , __FILE__ , __LINE__ , "Input file verification complete\n" ) ; + exec_terminate_with_return(ret , __FILE__ , __LINE__ , "Input file verification complete\n" ) ; } fclose(input_fp) ;