Skip to content
Snippets Groups Projects
Commit b054bd94 authored by Ezekiel Dohmen's avatar Ezekiel Dohmen
Browse files

Fixing permissions, and adding exe check

parent 4405f1e3
No related branches found
No related tags found
2 merge requests!439RCG 5.0 release fro deb 10,!299Fixing permissions on scripts that I changed
File mode changed from 100644 to 100755
File mode changed from 100644 to 100755
......@@ -72,7 +72,12 @@ $rcg_parser .= $outputFile . " ";
$rcg_parser .= $filteredOutputFile;
system("sync");
system($rcg_parser);
my $parser_code=system($rcg_parser);
if($parser_code != 0)
{
print "Command $rcg_parser failed with an exit code of $parser_code\n";
exit($parser_code >> 8);
}
system("sync");
# End DIAGNOSTIC
......
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