diff options
Diffstat (limited to 'disk-utils')
-rw-r--r-- | disk-utils/partx.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/disk-utils/partx.c b/disk-utils/partx.c index 3ccd1afad..f895b9be3 100644 --- a/disk-utils/partx.c +++ b/disk-utils/partx.c @@ -1054,7 +1054,9 @@ int main(int argc, char **argv) default: abort(); } - } + } else + rc = 1; + blkid_free_probe(pr); } |