Skip to content
This repository has been archived by the owner on Jan 17, 2021. It is now read-only.

Commit

Permalink
guest_os.go: fix remote journal filter
Browse files Browse the repository at this point in the history
  • Loading branch information
MingcongBai committed Sep 13, 2018
1 parent 5154253 commit 17b7b65
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion guest_os.go
Original file line number Diff line number Diff line change
Expand Up @@ -295,7 +295,7 @@ func factoryReset() {
`^/var/tmp/*`,
`^/var/log/apt/*`,
`^/var/log/alternative.log`,
`^/var/log/journal/[^remote$].*`,
`^/var/log/journal/^(?!remote).*`,
}, func(path string, info os.FileInfo, err error) error {
if err := os.RemoveAll(path); err != nil {
log.Println("clean:", err.Error())
Expand Down

0 comments on commit 17b7b65

Please sign in to comment.