aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--util-linux/fstrim.c3
1 files changed, 2 insertions, 1 deletions
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;
}