diff -r 782b9d2ebe0a -r 988ea0021850 tools/bass-o-matic --- a/tools/bass-o-matic Fri Oct 15 16:13:02 2010 -0500 +++ b/tools/bass-o-matic Fri Oct 15 16:14:01 2010 -0500 @@ -158,8 +158,8 @@ if template_zone: print "using template zone %s to create a build environment for %s to run '%s'" % (template_zone, component_arg, ['gmake'] + args) proc = subprocess.Popen(['gmake'] + args) - proc.wait() - sys.exit(0) + rc = proc.wait() + sys.exit(rc) if components_arg: if components_arg in [ 'path', 'paths', 'dir', 'dirs', 'directories' ]: