dsa-is-shutdown-scheduled: rewrite the systemd-shutdownd test using pgrep
authorAurelien Jarno <aurelien@aurel32.net>
Sat, 12 Aug 2017 15:52:00 +0000 (17:52 +0200)
committerAurelien Jarno <aurelien@aurel32.net>
Sat, 12 Aug 2017 15:52:00 +0000 (17:52 +0200)
commit5ea43f78545b21c5072bf731c7148bfd79ddfeeb
tree644620f13574a9ddc7591e1e6607bac05b5aec71
parentefcbedcb29c23a6d3357ca1ca195701fa3086a32
dsa-is-shutdown-scheduled: rewrite the systemd-shutdownd test using pgrep

Otherwise we end up detecting the command started by dsa-is-shutdown-scheduled
when the script is launched twice or more at the same time.

Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
modules/debian_org/files/dsa-is-shutdown-scheduled