Skip to content
Permalink
Browse files Browse the repository at this point in the history
Update profile write
  • Loading branch information
zachhuff386 committed Sep 4, 2020
1 parent 6943587 commit 87ceeae
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions service/profile/profile.go
Expand Up @@ -237,6 +237,10 @@ func (p *Profile) write() (pth string, err error) {

if strings.Contains(trimLine, "script-security") ||
strings.HasPrefix(trimLine, "log ") ||
strings.HasPrefix(trimLine, "log-append ") ||
strings.HasPrefix(trimLine, "syslog ") ||
strings.HasPrefix(trimLine, "management ") ||
strings.HasPrefix(trimLine, "plugin ") ||
strings.HasPrefix(trimLine, "up ") ||
strings.HasPrefix(trimLine, "down ") ||
strings.HasPrefix(trimLine, "route-pre-down ") ||
Expand Down

0 comments on commit 87ceeae

Please sign in to comment.