When cryptsetup is missing complain about it, not support tools of innerFS.
This commit is contained in:
parent
6b772f3332
commit
aa02ae7b1c
|
@ -101,7 +101,7 @@ bool luks::supportToolFound() const
|
||||||
|
|
||||||
FileSystem::SupportTool luks::supportToolName() const
|
FileSystem::SupportTool luks::supportToolName() const
|
||||||
{
|
{
|
||||||
if (m_isCryptOpen && m_innerFs)
|
if (m_isCryptOpen && m_innerFs && m_cryptsetupFound)
|
||||||
return m_innerFs->supportToolName();
|
return m_innerFs->supportToolName();
|
||||||
return SupportTool(QStringLiteral("cryptsetup"),
|
return SupportTool(QStringLiteral("cryptsetup"),
|
||||||
QUrl(QStringLiteral("https://code.google.com/p/cryptsetup/")));
|
QUrl(QStringLiteral("https://code.google.com/p/cryptsetup/")));
|
||||||
|
|
Loading…
Reference in New Issue