Re: [libvirt] [PATCH] command: properly diagnose process exit via signal

2011-03-23 Thread Daniel P. Berrange
On Tue, Mar 22, 2011 at 12:00:02PM -0600, Eric Blake wrote: > Child processes don't always reach _exit(); if they die from a > signal, then any messages should still be accurate. Most users > either expect a 0 status (thankfully, if status==0, then > WIFEXITED(status) is true and WEXITSTATUS(statu

[libvirt] [PATCH] command: properly diagnose process exit via signal

2011-03-22 Thread Eric Blake
Child processes don't always reach _exit(); if they die from a signal, then any messages should still be accurate. Most users either expect a 0 status (thankfully, if status==0, then WIFEXITED(status) is true and WEXITSTATUS(status)==0 for all known platforms) or were filtering on WIFEXITED before