projects
/
platform
/
upstream
/
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
00140b3
..
84a6410
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
;
}