mirror of
https://github.com/acepanel/panel.git
synced 2026-02-04 14:57:16 +08:00
refactor: tools
This commit is contained in:
@@ -62,7 +62,7 @@ func (r *TaskController) Log(ctx http.Context) {
|
||||
return
|
||||
}
|
||||
|
||||
log := tools.ExecShell("tail -n 30 " + task.Log)
|
||||
log := tools.Exec("tail -n 30 " + task.Log)
|
||||
|
||||
Success(ctx, log)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user