fstrim: Indicate failure on error

+14b

Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
This commit is contained in:
Bernhard Reutner-Fischer 2013-11-10 00:02:43 +01:00
parent 140f4e3511
commit b1489f97e0

View File

@ -103,6 +103,7 @@ int fstrim_main(int argc UNUSED_PARAM, char **argv)
if (opts & OPT_v)
printf("%s: %llu bytes were trimmed\n", bd, range.len);
}
return EXIT_SUCCESS;
}
return EXIT_FAILURE;
}