commit | 6061d941fc91e079edf76402bab2056063637d96 | [log] [tgz] |
---|---|---|
author | Andrew Price <anprice@redhat.com> | Fri Mar 28 01:42:47 2014 +0000 |
committer | Chris Mason <clm@fb.com> | Wed Sep 24 12:02:09 2014 -0700 |
tree | 2da95f37b1a96b821db8bbc51d430d2113525d46 | |
parent | c1ab63ed17189cacf1247751e8633f589c977a00 [diff] |
iowatcher: Check program exit code properly The return value of posix_spawnp() was being checked but the exit status of the child process was being ignored. This adds checks and error reporting based on the status that waitpid returns. Signed-off-by: Andrew Price <anprice@redhat.com>