X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;f=modules%2Fdebian_org%2Ffiles%2Fdsa-is-shutdown-scheduled;h=4dd1a7fb17fc1352924ac2f25961c6c4cd893b01;hb=2d1ec427e3c71ed97101e3dc53b8ece95624d67f;hp=c23f2f2ed2bae1e4fb0e07440c0fc56effae4fe6;hpb=3c6ec3bea56f171d8864c0c8eb04680477e40c7b;p=mirror%2Fdsa-puppet.git diff --git a/modules/debian_org/files/dsa-is-shutdown-scheduled b/modules/debian_org/files/dsa-is-shutdown-scheduled index c23f2f2ed..4dd1a7fb1 100644 --- 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