diff options
| author | 2025-09-07 19:55:16 +0200 | |
|---|---|---|
| committer | 2025-09-07 19:55:16 +0200 | |
| commit | 797403810afbe431b363061f363876e02cc34c82 (patch) | |
| tree | f114521a1291fe7e1962969a670a3303e7a87d72 /main.c | |
| parent | Updated RELEASE_NOTES. (diff) | |
| download | penes-snac2-797403810afbe431b363061f363876e02cc34c82.tar.gz penes-snac2-797403810afbe431b363061f363876e02cc34c82.tar.xz penes-snac2-797403810afbe431b363061f363876e02cc34c82.zip | |
Got rid of the 'fsck' command, as it's done on startup.
Diffstat (limited to 'main.c')
| -rw-r--r-- | main.c | 6 |
1 files changed, 0 insertions, 6 deletions
| @@ -34,7 +34,6 @@ int usage(const char *cmd) | |||
| 34 | "httpd {basedir} Starts the HTTPD daemon\n" | 34 | "httpd {basedir} Starts the HTTPD daemon\n" |
| 35 | "purge {basedir} Purges old data\n" | 35 | "purge {basedir} Purges old data\n" |
| 36 | "state {basedir} Prints server state\n" | 36 | "state {basedir} Prints server state\n" |
| 37 | "fsck {basedir} Performs a non-destructive data integrity check\n" | ||
| 38 | "webfinger {basedir} {account} Queries about an account (@user@host or actor url)\n" | 37 | "webfinger {basedir} {account} Queries about an account (@user@host or actor url)\n" |
| 39 | "queue {basedir} {uid} Processes a user queue\n" | 38 | "queue {basedir} {uid} Processes a user queue\n" |
| 40 | "follow {basedir} {uid} {actor} Follows an actor\n" | 39 | "follow {basedir} {uid} {actor} Follows an actor\n" |
| @@ -201,11 +200,6 @@ int main(int argc, char *argv[]) | |||
| 201 | return 0; | 200 | return 0; |
| 202 | } | 201 | } |
| 203 | 202 | ||
| 204 | if (strcmp(cmd, "fsck") == 0) { /** **/ | ||
| 205 | data_fsck(); | ||
| 206 | return 0; | ||
| 207 | } | ||
| 208 | |||
| 209 | if ((user = GET_ARGV()) == NULL) | 203 | if ((user = GET_ARGV()) == NULL) |
| 210 | return usage(cmd); | 204 | return usage(cmd); |
| 211 | 205 | ||