commit | b1489f97e0670fed7d450bae86a3aae38bc9156b | [log] [tgz] |
---|---|---|
author | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | Sun Nov 10 00:02:43 2013 +0100 |
committer | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | Sun Nov 10 00:02:43 2013 +0100 |
tree | 4fd2e63c5298813161f54b7e0c4658cd10777dd9 | |
parent | 140f4e351191d8633fd5bd6dcf38cdcccc1f07cb [diff] [blame] |
fstrim: Indicate failure on error +14b Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
diff --git a/util-linux/fstrim.c b/util-linux/fstrim.c index 00140b3..84a6410 100644 --- a/util-linux/fstrim.c +++ b/util-linux/fstrim.c
@@ -103,6 +103,7 @@ if (opts & OPT_v) printf("%s: %llu bytes were trimmed\n", bd, range.len); + return EXIT_SUCCESS; } - return EXIT_SUCCESS; + return EXIT_FAILURE; }