aboutsummaryrefslogtreecommitdiffstats
path: root/mpm/python/usrp_hwd.py
diff options
context:
space:
mode:
authorMartin Braun <martin.braun@ettus.com>2017-12-05 14:31:09 -0800
committerMartin Braun <martin.braun@ettus.com>2017-12-22 15:05:57 -0800
commitf357dee69cbcb5653cf6652b4791bbcab0174c5f (patch)
tree4011a54423ab448eff21ae220e730d95e8259079 /mpm/python/usrp_hwd.py
parent6fa0db94f1e84f180c2bbd9946bb8152ef8a21fe (diff)
downloaduhd-f357dee69cbcb5653cf6652b4791bbcab0174c5f.tar.gz
uhd-f357dee69cbcb5653cf6652b4791bbcab0174c5f.tar.bz2
uhd-f357dee69cbcb5653cf6652b4791bbcab0174c5f.zip
mpm: Return correct value for usrp_hwd.py --init-only
Before, it would always return success even if that failed.
Diffstat (limited to 'mpm/python/usrp_hwd.py')
-rwxr-xr-xmpm/python/usrp_hwd.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/mpm/python/usrp_hwd.py b/mpm/python/usrp_hwd.py
index d6e860a0c..23c560453 100755
--- a/mpm/python/usrp_hwd.py
+++ b/mpm/python/usrp_hwd.py
@@ -156,7 +156,7 @@ def main():
.format(init_duration))
log.info("Terminating on user request before launching RPC server.")
mgr.deinit()
- return True
+ return init_result
log.info("Spawning discovery process...")
_PROCESSES.append(
mpm.spawn_discovery_process(discovery_info, shared, args.discovery_addr)