pclose: Fix other places where we only tested pclose == -1.
authorRichard W.M. Jones <rjones@redhat.com>
Tue, 23 Aug 2011 17:56:12 +0000 (18:56 +0100)
committerRichard W.M. Jones <rjones@redhat.com>
Sun, 28 Aug 2011 08:19:33 +0000 (09:19 +0100)
commita1f601fc5a6b728b8c4a9a5ab7ce2a9c3920457c
treef8cd3490b30ecdae767e926c698183f3c6ea94e8
parent622ebf688e6ad18fd7d7c6f7f3c64c6bd7d5c903
pclose: Fix other places where we only tested pclose == -1.

pclose can return > 0 when the status of the command was non-zero.
(cherry picked from commit 631faad97171d7c1238b2e413c663cf61476f440)
fish/fish.c
generator/generator_capitests.ml
src/appliance.c
src/dbdump.c