diff options
author | Richard W.M. Jones <rjones@redhat.com> | 2012-03-09 16:13:49 +0000 |
---|---|---|
committer | Richard W.M. Jones <rjones@redhat.com> | 2012-03-09 16:13:49 +0000 |
commit | dfe30bdfe70f18d61404b41300f274480163c44d (patch) | |
tree | 3ae752a9ef31e9ffe31124f0e288588dec73f290 | |
parent | d0cf52b9118ab18bfffc7e4397531192610a7371 (diff) | |
download | libguestfs-dfe30bdfe70f18d61404b41300f274480163c44d.tar.gz libguestfs-dfe30bdfe70f18d61404b41300f274480163c44d.tar.xz libguestfs-dfe30bdfe70f18d61404b41300f274480163c44d.zip |
Revert "ext2: tweak the error returned message of resize2fs-M(BZ755729)"
This reverts commit 0eaf06e673833bc25673d5c3d2487fffae310285.
-rw-r--r-- | daemon/ext2.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/daemon/ext2.c b/daemon/ext2.c index 02cd68aa..b1c6c020 100644 --- a/daemon/ext2.c +++ b/daemon/ext2.c @@ -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; } |