summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard W.M. Jones <rjones@redhat.com>2012-03-09 16:13:49 +0000
committerRichard W.M. Jones <rjones@redhat.com>2012-03-09 16:13:49 +0000
commitdfe30bdfe70f18d61404b41300f274480163c44d (patch)
tree3ae752a9ef31e9ffe31124f0e288588dec73f290
parentd0cf52b9118ab18bfffc7e4397531192610a7371 (diff)
downloadlibguestfs-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.c5
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;
}