From 5940da526d272a1877cb2da84ac75f7a0bb99dd4 Mon Sep 17 00:00:00 2001 From: chn Date: Tue, 18 Jun 2024 01:02:58 +0800 Subject: [PATCH] =?UTF-8?q?localPackages.hpcstat:=20=E4=B8=8D=E5=AF=BC?= =?UTF-8?q?=E5=87=BA=20hpcstat=20=E7=9A=84=E7=99=BB=E9=99=86=E6=AC=A1?= =?UTF-8?q?=E6=95=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- local/pkgs/hpcstat/src/sql.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/local/pkgs/hpcstat/src/sql.cpp b/local/pkgs/hpcstat/src/sql.cpp index a746b3fd..1ceeb4a3 100644 --- a/local/pkgs/hpcstat/src/sql.cpp +++ b/local/pkgs/hpcstat/src/sql.cpp @@ -251,6 +251,7 @@ namespace hpcstat::sql (sqlite_orm::between(&LoginData::Time, start_time, end_time))) ) { + if (Keys[it.Key].Username == "hpcstat") continue; if (it.Interactive) stat_account[it.Key].LoginInteractive++; else stat_account[it.Key].LoginNonInteractive++; if (it.Subaccount) {