Mercurial > hg > quicktun
diff src/proto.nacltai.c @ 61:66d9d80215f0
Fixed -h and -v return status, fixed source file permissions (thanks github.com/rotty)
author | Ivo Smits <Ivo@UFO-Net.nl> |
---|---|
date | Wed, 04 Jan 2017 21:42:38 +0100 |
parents | 5685fad38195 |
children | 5b9e742bb704 |
line wrap: on
line diff
--- a/src/proto.nacltai.c Mon Jul 04 11:59:12 2016 +0200 +++ b/src/proto.nacltai.c Wed Jan 04 21:42:38 2017 +0100 @@ -176,7 +176,8 @@ #ifndef COMBINED_BINARY int main(int argc, char** argv) { print_header(); - if (qtprocessargs(argc, argv) < 0) return -1; + int rc = qtprocessargs(argc, argv); + if (rc <= 0) return rc; return qtrun(&qtproto_nacltai); } #endif