Commit 71032a09 authored by Mukund Sivaraman's avatar Mukund Sivaraman

[1673] Remove WIFCONTINUED and WIFSTOPPED checks

These are unnecessary and don't seem to be available on platforms like
NetBSD.
parent 42991798
......@@ -220,12 +220,6 @@ class BaseComponent:
if exit_code is not None:
if os.WIFEXITED(exit_code):
exit_str = "process exited normally with exit status %d" % (exit_code)
elif os.WIFCONTINUED(exit_code):
exit_str = "process continued with exit status %d" % (exit_code)
elif os.WIFSTOPPED(exit_code):
sig = os.WSTOPSIG(exit_code)
signame = get_signame(sig)
exit_str = "process stopped with exit status %d (killed by signal %d: %s)" % (exit_code, sig, signame)
elif os.WIFSIGNALED(exit_code):
sig = os.WTERMSIG(exit_code)
signame = get_signame(sig)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment