diff options
author | Alon Zakai <alonzakai@gmail.com> | 2012-11-15 11:46:01 -0800 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2012-11-15 11:46:01 -0800 |
commit | ed6571e23782c3615acfe1ac3fafce8920599c29 (patch) | |
tree | 89ddf46e93385fc8968589c1b3653c0161f5ef7a /emcc | |
parent | 9b846744151a4d628d76cbf2cb5c0b385bc9300d (diff) |
return error code on no input files
Diffstat (limited to 'emcc')
-rwxr-xr-x | emcc | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -116,7 +116,7 @@ shared.check_sanity(force=DEBUG) if len(sys.argv) == 1: print 'emcc: no input files' - exit(0) + exit(1) if sys.argv[1] == '--version': print '''emcc (Emscripten GCC-like replacement) 2.0 |