aboutsummaryrefslogtreecommitdiff
path: root/emcc
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2012-11-15 11:46:01 -0800
committerAlon Zakai <alonzakai@gmail.com>2012-11-15 11:46:01 -0800
commited6571e23782c3615acfe1ac3fafce8920599c29 (patch)
tree89ddf46e93385fc8968589c1b3653c0161f5ef7a /emcc
parent9b846744151a4d628d76cbf2cb5c0b385bc9300d (diff)
return error code on no input files
Diffstat (limited to 'emcc')
-rwxr-xr-xemcc2
1 files changed, 1 insertions, 1 deletions
diff --git a/emcc b/emcc
index 36bd5534..1b948341 100755
--- a/emcc
+++ b/emcc
@@ -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