vfmt: exit(1) after vfmt-ing a file with a syntax error

pull/8553/head
Delyan Angelov 2021-02-04 16:00:08 +02:00
parent c6552d7780
commit 1e9ec6a126
No known key found for this signature in database
GPG Key ID: 66886C0F12D595ED
1 changed files with 2 additions and 1 deletions

View File

@ -155,6 +155,7 @@ fn main() {
if foptions.is_c { if foptions.is_c {
exit(2) exit(2)
} }
exit(1)
} }
} }