> pgrep needs the -f option, then the script works and power button behaves
> as expected.

The use of -f changes the matching behaviour, and as such it is going
to try to match to whatever $pid says its argv[0] is, not what was
actually exec'ed.

Cheers,
-- 
Raphael Geissert - Debian Developer
www.debian.org - get.debian.net


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to