fixed missing vars load on post-rectification execution

master
Chris Punches 2018-06-01 23:23:38 -04:00
parent 8f6f7761c4
commit 11829aca39
1 changed files with 1 additions and 1 deletions

View File

@ -360,7 +360,7 @@ void Task::execute( Conf * configuration, bool verbose )
syslog( LOG_INFO, infostring.str().c_str() ); syslog( LOG_INFO, infostring.str().c_str() );
std::cout << infostring.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 // d[5] Error Code Check