mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
COMP: ignore return value
This commit is contained in:
@ -1171,7 +1171,11 @@ int main(int argc, char *argv[])
|
||||
+ "_"
|
||||
+ procFile.name()
|
||||
);
|
||||
system(cmd.c_str());
|
||||
if (system(cmd.c_str()) == -1)
|
||||
{
|
||||
WarningIn(args.executable())
|
||||
<< "Could not execute command " << cmd << endl;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user