feat(prebuild): make prebuild available as an external package.
Usefull for downstream repo.
This commit is contained in:
parent
538da05696
commit
913ac3131c
13 changed files with 304 additions and 214 deletions
|
|
@ -48,7 +48,7 @@ func aaLog(logger string, path string, profile string, anonymize bool) error {
|
|||
case "auditd":
|
||||
file, err = logs.GetAuditLogs(path)
|
||||
case "systemd":
|
||||
file, err = logs.GetJournalctlLogs(path, !util.InSlice(path, logs.LogFiles))
|
||||
file, err = logs.GetJournalctlLogs(path, !slices.Contains(logs.LogFiles, path))
|
||||
default:
|
||||
err = fmt.Errorf("Logger %s not supported.", logger)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue