fixed missing vars load on post-rectification execution

master
Chris Punches 2018-06-01 23:19:30 -04:00
parent 722688ebf3
commit 8f6f7761c4
1 changed files with 2 additions and 2 deletions

View File

@ -306,7 +306,7 @@ void Task::execute( Conf * configuration, bool verbose )
syslog(LOG_INFO, infostring.str().c_str() );
std::cout << infostring.str();
int rectifier_error = Sproc::execute( rectifier_command );
int rectifier_error = Sproc::execute( "source " + configuration->get_env_vars_file() + " && " + rectifier_command );
// **********************************************
// d[3] Error Code Check for Rectifier
@ -416,4 +416,4 @@ void Task::execute( Conf * configuration, bool verbose )
// end d[1] Rectify Check
// **********************************************
}
}
}