Commit ba2c7d35 authored by Robert Ricci's avatar Robert Ricci

Fix exit codes

parent 356f56f6
......@@ -232,7 +232,7 @@ int parse_ptop(tb_pgraph &PG, tb_sgraph &SG, istream& i)
}
}
if (errors > 0) {exit(1);}
if (errors > 0) {exit(2);}
return num_nodes;
}
......
......@@ -253,7 +253,7 @@ int parse_top(tb_vgraph &VG, istream& i)
}
}
if (errors > 0) {exit(1);}
if (errors > 0) {exit(2);}
return num_nodes;
}
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