2
0
mirror of https://github.com/acepanel/panel.git synced 2026-02-05 15:57:17 +08:00

fix: 修复debian下cron不生效

This commit is contained in:
耗子
2024-07-28 15:53:57 +08:00
parent 0e715a7576
commit bbc6e3c7cc
3 changed files with 20 additions and 26 deletions

View File

@@ -168,7 +168,7 @@ ignoreregex =
var err error
switch jailName {
case "ssh":
if os.IsDebian() {
if os.IsDebian() || os.IsUbuntu() {
logPath = "/var/log/auth.log"
} else {
logPath = "/var/log/secure"