[git commit] fstrim: Indicate failure on error
Bernhard Reutner-Fischer
rep.dot.nop at gmail.com
Sat Nov 9 23:02:43 UTC 2013
commit: http://git.busybox.net/busybox/commit/?id=b1489f97e0670fed7d450bae86a3aae38bc9156b
branch: http://git.busybox.net/busybox/commit/?id=refs/heads/master
+14b
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop at gmail.com>
---
util-linux/fstrim.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
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 @@ 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;
}
More information about the busybox-cvs
mailing list