change return code based on success

This commit is contained in:
Josh Holtrop committed 2011-08-30 16:12:10 -04:00
1 parent 05758a1557
commit 0417799276
1 file changed
+1 -1
+1 -1
View File
@@ -47,7 +47,7 @@ def main(argv):
if success and not args.c: if success and not args.c:
do_link(args, ofiles) do_link(args, ofiles)
return 0 return 0 if success else 2
def build(args, source, dest): def build(args, source, dest):
f = open(source, 'r') f = open(source, 'r')