summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--c_src/cmd_fsck.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/c_src/cmd_fsck.c b/c_src/cmd_fsck.c
index 2ea51ff2..3a33ca40 100644
--- a/c_src/cmd_fsck.c
+++ b/c_src/cmd_fsck.c
@@ -227,7 +227,10 @@ int cmd_fsck(int argc, char *argv[])
"apynfo:rRkKvh",
longopts, NULL)) != -1)
switch (opt) {
- case 'a': /* outdated alias for -p */
+ case 'a':
+ /* "automatic" run, called by the system, for us to do checks as needed.
+ * we don't need checks here: */
+ exit(EXIT_SUCCESS);
case 'p':
case 'y':
append_opt(&opts_str, "fix_errors=yes");