Skip to content
Snippets Groups Projects
Commit 54d7a028 authored by ajf5's avatar ajf5
Browse files

bug fix

parent 62a48eb4
No related branches found
No related tags found
No related merge requests found
......@@ -167,8 +167,8 @@ int main(int argc, char *argv[])
continue;
}
string testCommand = "./" + cmdLineInput[1] + " > /dev/null 2>&1";
if (system(testCommand.c_str())) {
cout << "[MAPLE] " << cmdLineInput[1] << " does not exist locally" << endl;
if (system(testCommand.c_str()) == -1) {
cout << "[MAPLE] " << cmdLineInput[1] << " does not exist locally, " << testCommand << " failed." << endl;
continue;
}
if (!node->isBlackout){
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment