Skip to content

Commit

Permalink
Exits with return code 1 when VPR encounters errors.
Browse files Browse the repository at this point in the history
  • Loading branch information
kmurray committed May 4, 2016
1 parent 34950bc commit a4eb5bb
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions vpr/SRC/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,8 @@ int main(int argc, char **argv) {
}
catch(t_vpr_error* vpr_error){
vpr_print_error(vpr_error);
/* Return 1 to signal error to scripts */
return 1;
}

/* Return 0 to single success to scripts */
Expand Down

0 comments on commit a4eb5bb

Please sign in to comment.