mirror of
https://github.com/libguestfs/libguestfs.git
synced 2026-03-21 22:53:37 +00:00
Revert "ext2: tweak the error returned message of resize2fs-M(BZ755729)"
This reverts commit 0eaf06e673.
This commit is contained in:
@@ -255,10 +255,7 @@ do_resize2fs_M (const char *device)
|
||||
|
||||
r = command (NULL, &err, prog, "-M", device, NULL);
|
||||
if (r == -1) {
|
||||
if (strstr (err, "e2fsck -f"))
|
||||
reply_with_error ("you need to run e2fsck with the correct and/or forceall options first");
|
||||
else
|
||||
reply_with_error ("%s", err);
|
||||
reply_with_error ("%s", err);
|
||||
free (err);
|
||||
return -1;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user