aboutsummaryrefslogtreecommitdiffstats
path: root/mpm/python/usrp_hwd.py
diff options
context:
space:
mode:
Diffstat (limited to 'mpm/python/usrp_hwd.py')
-rwxr-xr-xmpm/python/usrp_hwd.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/mpm/python/usrp_hwd.py b/mpm/python/usrp_hwd.py
index d971cc5fc..f79932231 100755
--- a/mpm/python/usrp_hwd.py
+++ b/mpm/python/usrp_hwd.py
@@ -174,7 +174,7 @@ def main():
log_default_delta=args.verbose-args.quiet
).getChild('main')
version_string = mpm.__version__
- if len(mpm.__githash__):
+ if mpm.__githash__:
version_string += "-g" + mpm.__githash__
log.info("Launching USRP/MPM, version: %s", version_string)
if args.init_only:
@@ -189,4 +189,4 @@ def main():
return spawn_processes(log, args)
if __name__ == '__main__':
- exit(not main())
+ sys.exit(not main())