diff options
author | Chaitanya Talnikar <chaitanya.talnikar@iitb.ac.in> | 2012-11-10 20:04:58 +0530 |
---|---|---|
committer | Chaitanya Talnikar <chaitanya.talnikar@iitb.ac.in> | 2012-11-11 03:05:14 +0530 |
commit | fe1753e94f8dd09e79458f13519c3c6510f44847 (patch) | |
tree | 1df7e6f1ab8e5d300a3c33ba8b935b0e1efc63c3 | |
parent | 739748d553b79defc94eb6573714635e193b42cf (diff) |
Ignore /boot partition on GetDisks
-rw-r--r-- | xbmc/storage/linux/UDisksProvider.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/xbmc/storage/linux/UDisksProvider.cpp b/xbmc/storage/linux/UDisksProvider.cpp index 3421e4baa0..4a7d6500dc 100644 --- a/xbmc/storage/linux/UDisksProvider.cpp +++ b/xbmc/storage/linux/UDisksProvider.cpp @@ -154,7 +154,8 @@ CMediaSource CUDiskDevice::ToMediaShare() bool CUDiskDevice::IsApproved() { - return (m_isFileSystem && m_isMounted && m_UDI.length() > 0 && (m_FileSystem.length() > 0 && !m_FileSystem.Equals("swap")) && !m_MountPath.Equals("/")) || m_isOptical; + return (m_isFileSystem && m_isMounted && m_UDI.length() > 0 && (m_FileSystem.length() > 0 && !m_FileSystem.Equals("swap")) + && !m_MountPath.Equals("/") && !m_MountPath.Equals("/boot")) || m_isOptical; } #define BOOL2SZ(b) ((b) ? "true" : "false") |