Fix a crash with proxy procedures

This commit is contained in:
Ryan Gonzalez 2016-05-20 19:44:52 -05:00
parent ac806c13bd
commit 280d0c4a7e

View file

@ -610,7 +610,7 @@ def run_subproc(cmds, captured=False):
errout = errout.replace('\r\n', '\n')
procinfo['stderr'] = errout
if prev_proc.signal:
if getattr(prev_proc, 'signal', None):
sig, core = prev_proc.signal
try:
sig_str = SIGNAL_STRINGS[sig]