summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--misc-utils/ftl_format.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/misc-utils/ftl_format.c b/misc-utils/ftl_format.c
index 74322c7..649984b 100644
--- a/misc-utils/ftl_format.c
+++ b/misc-utils/ftl_format.c
@@ -333,6 +333,5 @@ int main(int argc, char *argv[])
}
close(fd);
- exit((ret) ? EXIT_FAILURE : EXIT_SUCCESS);
- return 0;
+ return ret ? EXIT_FAILURE : EXIT_SUCCESS;
}