diff options
author | Brenda J. Butler <bjb@mojatatu.com> | 2018-11-16 17:37:56 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-11-17 21:54:53 -0800 |
commit | c6cecf4ae44e4ce9158ef8806358142c3512cd33 (patch) | |
tree | 4bf0110a914f79d9640836cbe8a13545da978ce9 /scripts/unifdef.c | |
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>
Diffstat (limited to 'scripts/unifdef.c')
0 files changed, 0 insertions, 0 deletions