aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgrunfink <grunfink@comam.es>2025-09-07 19:55:16 +0200
committergrunfink <grunfink@comam.es>2025-09-07 19:55:16 +0200
commit797403810afbe431b363061f363876e02cc34c82 (patch)
treef114521a1291fe7e1962969a670a3303e7a87d72
parent8256731209ca40ee4eb7949cd20942b0b0f9fdae (diff)
Got rid of the 'fsck' command, as it's done on startup.
-rw-r--r--main.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/main.c b/main.c
index 19cfe1a..f767355 100644
--- a/main.c
+++ b/main.c
@@ -34,7 +34,6 @@ int usage(const char *cmd)
"httpd {basedir} Starts the HTTPD daemon\n"
"purge {basedir} Purges old data\n"
"state {basedir} Prints server state\n"
- "fsck {basedir} Performs a non-destructive data integrity check\n"
"webfinger {basedir} {account} Queries about an account (@user@host or actor url)\n"
"queue {basedir} {uid} Processes a user queue\n"
"follow {basedir} {uid} {actor} Follows an actor\n"
@@ -201,11 +200,6 @@ int main(int argc, char *argv[])
return 0;
}
- if (strcmp(cmd, "fsck") == 0) { /** **/
- data_fsck();
- return 0;
- }
-
if ((user = GET_ARGV()) == NULL)
return usage(cmd);