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:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user