diff --git a/src/omniperf b/src/omniperf index 4188166d12..d63ccf2a66 100755 --- a/src/omniperf +++ b/src/omniperf @@ -24,6 +24,7 @@ # SOFTWARE. ##############################################################################el +import sys from omniperf_base import Omniperf def main(): @@ -43,5 +44,7 @@ def main(): else: omniperf.error("Unsupported execution mode") + sys.exit(0) + if __name__ == "__main__": main()