Skip to content
Snippets Groups Projects
Commit 55de45a0 authored by Houtan Bastani's avatar Houtan Bastani
Browse files

preprocessor: config file: if on Windows machine and operatingSystem is empty,...

preprocessor: config file: if on Windows machine and operatingSystem is empty, then check to see if password or remoteDrive is empty. otherwise, don't check
parent feb61474
No related branches found
No related tags found
No related merge requests found
......@@ -517,6 +517,8 @@ ConfigFile::checkPass(WarningConsolidation &warnings) const
exit(EXIT_FAILURE);
}
#if defined(_WIN32) || defined(__CYGWIN32__)
if (it->second->operatingSystem.empty())
{
if (it->second->password.empty())
{
cerr << "ERROR (node " << it->first << "): the Password option must be passed under Windows for every remote node." << endl;
......@@ -527,6 +529,7 @@ ConfigFile::checkPass(WarningConsolidation &warnings) const
cerr << "ERROR (node " << it->first << "): the RemoteDrive option must be passed under Windows for every remote node." << endl;
exit(EXIT_FAILURE);
}
}
#endif
if (it->second->remoteDirectory.empty())
{
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment