From 59cf58e74b6d726fb6421a7df289e49c85e2d5ae Mon Sep 17 00:00:00 2001 From: Stephen Gran Date: Thu, 27 Sep 2012 07:24:41 +0100 Subject: [PATCH] try to shut this up Signed-off-by: Stephen Gran --- dsa-nagios-checks/sbin/dsa-update-unowned-file-status | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dsa-nagios-checks/sbin/dsa-update-unowned-file-status b/dsa-nagios-checks/sbin/dsa-update-unowned-file-status index 45a8f89..1caaaeb 100755 --- a/dsa-nagios-checks/sbin/dsa-update-unowned-file-status +++ b/dsa-nagios-checks/sbin/dsa-update-unowned-file-status @@ -31,7 +31,7 @@ if command -v ionice >/dev/null 2>&1; then prefix="ionice -c 3 -t" # idle priority, ignore errors fi -$prefix find / -fstype proc -prune -o -nouser | head -n "$CUTOFF" > "$tmp" +$prefix find / -ignore_readdir_race \( -fstype proc -o -fstype sysfs \) -prune -o -nouser | head -n "$CUTOFF" > "$tmp" if [ -s "$tmp" ]; then echo "WARN" -- 2.20.1