projects
/
mirror
/
dsa-nagios.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Stop looking for xinetd on a bunch of hosts
[mirror/dsa-nagios.git]
/
dsa-nagios-checks
/
sbin
/
dsa-update-unowned-file-status
diff --git
a/dsa-nagios-checks/sbin/dsa-update-unowned-file-status
b/dsa-nagios-checks/sbin/dsa-update-unowned-file-status
index
e3caea2
..
65034a9
100755
(executable)
--- 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="ionice -c 3 -t" # idle priority, ignore errors
fi
-$prefix find / -ignore_readdir_race \( -fstype proc -o -fstype sysfs -o -fstype fdescfs \) -prune -o
-nouser
| head -n "$CUTOFF" > "$tmp"
+$prefix find / -ignore_readdir_race \( -fstype proc -o -fstype sysfs -o -fstype fdescfs \) -prune -o
\( -nouser -print \)
| head -n "$CUTOFF" > "$tmp"
if [ -s "$tmp" ]; then
echo "WARN"
if [ -s "$tmp" ]; then
echo "WARN"