diff --git a/btrfs-image.c b/btrfs-image.c index 3ea3730f..ab229f3f 100644 --- a/btrfs-image.c +++ b/btrfs-image.c @@ -2588,5 +2588,5 @@ out: else fclose(out); - return ret; + return !!ret; }