X-Git-Url: http://git.annexia.org/?a=blobdiff_plain;f=src%2Fappliance.c;h=6629abbcc375815af363ad4bf43473b8d390822d;hb=68fcbb6f5f50d631af90b05da7e5e2efa5de0b46;hp=56838825855027ef4ff575f81a0f943f36f330fa;hpb=7e484865894b98de7a976a688c19e64bdd13dade;p=libguestfs.git diff --git a/src/appliance.c b/src/appliance.c index 5683882..6629abb 100644 --- a/src/appliance.c +++ b/src/appliance.c @@ -240,7 +240,7 @@ calculate_supermin_checksum (guestfs_h *g, const char *supermin_path) return NULL; } - if (pclose (pp) == -1) { + if (pclose (pp) != 0) { warning (g, "pclose: %m"); return NULL; }