lvm without arguments has returncode 3
This commit is contained in:
parent
ad888767bb
commit
0094461f60
|
@ -46,7 +46,7 @@ lvm2_pv::lvm2_pv(qint64 firstsector, qint64 lastsector,
|
||||||
|
|
||||||
void lvm2_pv::init()
|
void lvm2_pv::init()
|
||||||
{
|
{
|
||||||
CommandSupportType lvmFound = findExternal(QStringLiteral("lvm")) ? cmdSupportFileSystem : cmdSupportNone;
|
CommandSupportType lvmFound = findExternal(QStringLiteral("lvm"), {}, 3) ? cmdSupportFileSystem : cmdSupportNone;
|
||||||
|
|
||||||
m_Create = lvmFound;
|
m_Create = lvmFound;
|
||||||
m_Check = lvmFound;
|
m_Check = lvmFound;
|
||||||
|
|
Loading…
Reference in New Issue