commit | ab8cd418703ca710c7fc580de591dd42fd080773 | [log] [tgz] |
---|---|---|
author | Andrew Price <anprice@redhat.com> | Fri Mar 28 01:42:47 2014 +0000 |
committer | Andrew Price <anprice@redhat.com> | Fri Mar 28 01:42:47 2014 +0000 |
tree | cf09fd4934649be53972f5e74ff8b5505b3c808a | |
parent | 72a8f45370962ebe4a307bf1726416afcfc2cc87 [diff] |
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>