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>
Fri, 16 Sep 2011 15:15:35 +0000 (16:15 +0100)
commit68fcbb6f5f50d631af90b05da7e5e2efa5de0b46
tree972ea0a6c83919972c503e7ef21b48970962ec1c
parent7e484865894b98de7a976a688c19e64bdd13dade
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