see if the daemon is running. The case when the daemon wasn't apparently
running was missing a "fi". While we're here, fancify the grep a little and
fix the fact that it shows you the script is running as well as the daemon.
Reported by: Jonathan Towne <jontow@twcny.rr.com>
PR: 41252
Submitted by: Andrew Stevenson <andrew@ugh.net.au>