diff --git a/guest_os.go b/guest_os.go index 2b4c78e..371f619 100644 --- a/guest_os.go +++ b/guest_os.go @@ -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())