lvm without arguments has returncode 3

This commit is contained in:
Guillaume Girol 2021-02-27 12:00:00 +00:00
parent ad888767bb
commit 0094461f60
1 changed files with 1 additions and 1 deletions

View File

@ -46,7 +46,7 @@ lvm2_pv::lvm2_pv(qint64 firstsector, qint64 lastsector,
void lvm2_pv::init()
{
CommandSupportType lvmFound = findExternal(QStringLiteral("lvm")) ? cmdSupportFileSystem : cmdSupportNone;
CommandSupportType lvmFound = findExternal(QStringLiteral("lvm"), {}, 3) ? cmdSupportFileSystem : cmdSupportNone;
m_Create = lvmFound;
m_Check = lvmFound;