commit | c6cecf4ae44e4ce9158ef8806358142c3512cd33 | [log] [tgz] |
---|---|---|
author | Brenda J. Butler <bjb@mojatatu.com> | Fri Nov 16 17:37:56 2018 -0500 |
committer | David S. Miller <davem@davemloft.net> | Sat Nov 17 21:54:53 2018 -0800 |
tree | 4bf0110a914f79d9640836cbe8a13545da978ce9 | |
parent | 5aaf6428526bcad98d6f51f2f679c919bb75d7e9 [diff] |
tc-testing: tdc.py: Guard against lack of returncode in executed command Add some defensive coding in case one of the subprocesses created by tdc returns nothing. If no object is returned from exec_cmd, then tdc will halt with an unhandled exception. Signed-off-by: Brenda J. Butler <bjb@mojatatu.com> Signed-off-by: Lucas Bates <lucasb@mojatatu.com> Signed-off-by: David S. Miller <davem@davemloft.net>