From cb3445aa2a5701cda38f41b7f134d3e22000db2a Mon Sep 17 00:00:00 2001 From: Kim Brown Date: Tue, 27 Mar 2018 19:38:30 -0400 Subject: [PATCH] Installer: WorkerThread: Add syslog to ignored paths A new install should start with an empty syslog. Adding the syslog path to the set of ignored paths will prevent an existing syslog file from being copied into the new install. Fixes #8373 Change-Id: I79ecf95773a34360185d38ee4ef0c8337b062e7a --- src/apps/installer/WorkerThread.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/apps/installer/WorkerThread.cpp b/src/apps/installer/WorkerThread.cpp index 66b69996ee..01cc30221a 100644 --- a/src/apps/installer/WorkerThread.cpp +++ b/src/apps/installer/WorkerThread.cpp @@ -99,6 +99,8 @@ public: fIgnorePaths.insert("haiku-boot-floppy.image"); fIgnorePaths.insert("system/var/swap"); fIgnorePaths.insert("system/var/shared_memory"); + fIgnorePaths.insert("system/var/log/syslog"); + fIgnorePaths.insert("system/var/log/syslog.old"); fPackageFSRootPaths.insert("system"); fPackageFSRootPaths.insert("home/config");