projects
/
mirror
/
dsa-puppet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
blacklist 95.115.66.23
[mirror/dsa-puppet.git]
/
modules
/
debian_org
/
files
/
dsa-is-shutdown-scheduled
diff --git
a/modules/debian_org/files/dsa-is-shutdown-scheduled
b/modules/debian_org/files/dsa-is-shutdown-scheduled
index
c23f2f2
..
4dd1a7f
100644
(file)
--- a/
modules/debian_org/files/dsa-is-shutdown-scheduled
+++ b/
modules/debian_org/files/dsa-is-shutdown-scheduled
@@
-5,7
+5,7
@@
if /usr/lib/nagios/plugins/check_procs -w 1: -u root -C shutdown > /dev/null; th
exit 0
fi
# jessie
-if
/usr/lib/nagios/plugins/check_procs -w 1: -u root -a
/lib/systemd/systemd-shutdownd > /dev/null; then
+if
pgrep -u root -fx
/lib/systemd/systemd-shutdownd > /dev/null; then
exit 0
fi
# stretch