From 11829aca39e3a819a51e214ff91c13180e30f210 Mon Sep 17 00:00:00 2001 From: Chris Punches Date: Fri, 1 Jun 2018 23:23:38 -0400 Subject: [PATCH] fixed missing vars load on post-rectification execution --- src/loaders/Task.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/loaders/Task.cpp b/src/loaders/Task.cpp index 7cd1ba8..f717078 100644 --- a/src/loaders/Task.cpp +++ b/src/loaders/Task.cpp @@ -360,7 +360,7 @@ void Task::execute( Conf * configuration, bool verbose ) syslog( LOG_INFO, infostring.str().c_str() ); std::cout << infostring.str(); - int retry_code = Sproc::execute( target_command ); + int retry_code = Sproc::execute( "source " + configuration->get_env_vars_file() + " && " + target_command ); // ********************************************** // d[5] Error Code Check