summaryrefslogtreecommitdiff
path: root/main.c
diff options
context:
space:
mode:
authordefault <nobody@localhost>2023-05-08 09:02:45 +0200
committerdefault <nobody@localhost>2023-05-08 09:02:45 +0200
commite2e7bc2d713e469d5af61f58dc85c063bba94e42 (patch)
tree799482b6085d6807f0471798c6244cc3e6f770b0 /main.c
parent29fb145fc471034d563ec49d19f4a2da6e330ff1 (diff)
Added a source (web, mastoapi, etc) to lastlog_write().
Diffstat (limited to 'main.c')
-rw-r--r--main.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/main.c b/main.c
index 3f34673..322aa67 100644
--- a/main.c
+++ b/main.c
@@ -145,6 +145,8 @@ int main(int argc, char *argv[])
return 1;
}
+ lastlog_write(&snac, "cmdline");
+
if (strcmp(cmd, "resetpwd") == 0) {
return resetpwd(&snac);
}