avoid crashing in checkDaemon when fcntl locking is not supported
authorJoey Hess <joeyh@joeyh.name>
Mon, 16 Nov 2015 18:27:23 +0000 (14:27 -0400)
committerJoey Hess <joeyh@joeyh.name>
Mon, 16 Nov 2015 18:34:30 +0000 (14:34 -0400)
commitbe86081ff4a98b45e08921fdd0b8eba3fca7ea64
tree45c5baf5c11f79f07976d4f9496ea56e8985eb47
parentb5df6c7b93d31f8575ee49e06752acfea59dd4cd
avoid crashing in checkDaemon when fcntl locking is not supported

Instead, just assume the daemon isn't running. Since the pid file locking
fails on such a filesystem, we know it's not running.
Utility/Daemon.hs