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:
parent
e96b8c4774
commit
f4788f3853
1 changed files with 2 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue