From: Bernhard Reutner-Fischer Date: Sat, 9 Nov 2013 23:02:43 +0000 (+0100) Subject: fstrim: Indicate failure on error X-Git-Tag: 1_22_0~55 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=b1489f97e0670fed7d450bae86a3aae38bc9156b;p=oweals%2Fbusybox.git fstrim: Indicate failure on error +14b Signed-off-by: Bernhard Reutner-Fischer --- diff --git a/util-linux/fstrim.c b/util-linux/fstrim.c index 00140b340..84a641022 100644 --- a/util-linux/fstrim.c +++ b/util-linux/fstrim.c @@ -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_SUCCESS; + return EXIT_FAILURE; }