diff options
-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; } |