commit 7974038

grunfink  ·  2025-09-07 17:55:16 +0000 UTC
parent 8256731
Got rid of the 'fsck' command, as it's done on startup.
1 files changed,  +0, -6
M main.c
M main.c
+0, -6
 1@@ -34,7 +34,6 @@ int usage(const char *cmd)
 2         "httpd {basedir}                      Starts the HTTPD daemon\n"
 3         "purge {basedir}                      Purges old data\n"
 4         "state {basedir}                      Prints server state\n"
 5-        "fsck {basedir}                       Performs a non-destructive data integrity check\n"
 6         "webfinger {basedir} {account}        Queries about an account (@user@host or actor url)\n"
 7         "queue {basedir} {uid}                Processes a user queue\n"
 8         "follow {basedir} {uid} {actor}       Follows an actor\n"
 9@@ -201,11 +200,6 @@ int main(int argc, char *argv[])
10         return 0;
11     }
12 
13-    if (strcmp(cmd, "fsck") == 0) { /** **/
14-        data_fsck();
15-        return 0;
16-    }
17-
18     if ((user = GET_ARGV()) == NULL)
19         return usage(cmd);
20