> 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 [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected]

