Commits

Benoît Allard committed 38428c1

runcap: Set a non null return value when exiting with error

Comments (0)

Files changed (1)

         if expected != received:
             print "<== %s was expected" % a2s(expected)
             print self.vm.log
-            sys.exit()
+            sys.exit(1)
 
     def echo(self, *args, **kwargs):
         print(args, kwargs)