From dfe30bdfe70f18d61404b41300f274480163c44d Mon Sep 17 00:00:00 2001 From: "Richard W.M. Jones" Date: Fri, 9 Mar 2012 16:13:49 +0000 Subject: Revert "ext2: tweak the error returned message of resize2fs-M(BZ755729)" This reverts commit 0eaf06e673833bc25673d5c3d2487fffae310285. --- daemon/ext2.c | 5 +---- 1 file changed, 1 insertion(+), 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; } -- cgit