From f357dee69cbcb5653cf6652b4791bbcab0174c5f Mon Sep 17 00:00:00 2001 From: Martin Braun Date: Tue, 5 Dec 2017 14:31:09 -0800 Subject: mpm: Return correct value for usrp_hwd.py --init-only Before, it would always return success even if that failed. --- mpm/python/usrp_hwd.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mpm/python') 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) -- cgit v1.2.3