aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/etc/systemd/system
diff options
context:
space:
mode:
Diffstat (limited to 'etc/systemd/system')
-rw-r--r--etc/systemd/system/lostfiles.service2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/systemd/system/lostfiles.service b/etc/systemd/system/lostfiles.service
index 4d94a18..d2df9e4 100644
--- a/etc/systemd/system/lostfiles.service
+++ b/etc/systemd/system/lostfiles.service
@@ -7,4 +7,4 @@ ConditionPathExists=/usr/bin/lostfiles
Type=oneshot
Nice=19
IOSchedulingClass=idle
-ExecStart=/bin/sh -c '/usr/bin/lostfiles >/run/lostfiles.txt.tmp && mv /run/lostfiles.txt.tmp /run/lostfiles.txt'
+ExecStart=/bin/sh -c '/usr/bin/lostfiles | { if [ -f /etc/lostfiles.ignore ]; then grep -vFxf /etc/lostfiles.ignore; else cat; fi; } >/run/lostfiles.txt.tmp && mv /run/lostfiles.txt.tmp /run/lostfiles.txt'