clarify comment

haskell-mountpoints contains android specific code, but it's not used
when git-annex was built for linux and is running on android.
This commit is contained in:
Joey Hess 2018-09-05 11:22:27 -04:00
parent e96b8c4774
commit f4788f3853
No known key found for this signature in database
GPG key ID: DB12DB0FF05F8F38

View file

@ -18,7 +18,8 @@ import Utility.Exception
getMounts :: IO [Mntent]
#ifndef __ANDROID__
getMounts = System.MountPoints.getMounts
-- That will crash when running on Android, so fall back to this.
-- That will crash when the linux build is running on Android,
-- so fall back to this.
`catchNonAsync` const System.MountPoints.getProcMounts
#else
getMounts = System.MountPoints.getProcMounts