diff --git a/oamapps/postConfigure/postConfigure.cpp b/oamapps/postConfigure/postConfigure.cpp index 1ec9b023e..5f30a37eb 100644 --- a/oamapps/postConfigure/postConfigure.cpp +++ b/oamapps/postConfigure/postConfigure.cpp @@ -58,6 +58,7 @@ #include /* for strncpy */ #include +#include #include #include #include @@ -498,6 +499,31 @@ int main(int argc, char* argv[]) cout << "IMPORTANT: This tool requires to run on the Performance Module #1" << endl; cout << endl; + // MCOL-3675 + struct stat dir_info; + if (stat(tmpDir.c_str(), &dir_info) != 0) + { + cerr<getConfig(InstallSection, "ProfileFile"); + } + catch (...) + {} + + // MCOL-3676 + if (ProfileFile.empty()) + { + cerr<getConfig(InstallSection, "ProfileFile"); - } - catch (...) - {} - if ( waitForActive() ) { cout << " DONE" << endl;