improve error handling and reporting for hpilos.
[pcucontrol.git] / pcucontrol / util / command.py
index 6f112fb..42e00a9 100644 (file)
@@ -126,6 +126,7 @@ class CMD:
                f_out.close()
                f_in.close()
                f_err.close()
+               s.poll()
                s.kill(signal.SIGKILL)
 
                return (o_value, e_value)