projects
/
oweals
/
busybox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
140f4e3
)
fstrim: Indicate failure on error
author
Bernhard Reutner-Fischer
<rep.dot.nop@gmail.com>
Sat, 9 Nov 2013 23:02:43 +0000
(
00:02
+0100)
committer
Bernhard Reutner-Fischer
<rep.dot.nop@gmail.com>
Sat, 9 Nov 2013 23:02:43 +0000
(
00:02
+0100)
+14b
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
util-linux/fstrim.c
patch
|
blob
|
history
diff --git
a/util-linux/fstrim.c
b/util-linux/fstrim.c
index 00140b3404b57dfd8f85262816ad2b027688fe5f..84a6410224d85c8859b7dbec81bb0616d3560967 100644
(file)
--- 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
;
}