Commit d53f0e0f authored by Robert Ricci's avatar Robert Ricci

Fix the exit code when some error occurs that results in negative

violations.
parent 0552343f
......@@ -747,7 +747,7 @@ int main(int argc,char **argv)
afile.close();
}
if (violated > 0) {
if (violated == 0) {
return 1;
} else {
return 0;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment