Comment out
This commit is contained in:
parent
3675a199bf
commit
54f0c98dc0
|
@ -32,6 +32,9 @@ public:
|
||||||
void run() override
|
void run() override
|
||||||
{
|
{
|
||||||
ExternalCommand blkidCmd(QStringLiteral("blkid"), {});
|
ExternalCommand blkidCmd(QStringLiteral("blkid"), {});
|
||||||
|
|
||||||
|
// ExternalCommadHelper will refuse to run this or any other command which is not whitelisted.
|
||||||
|
// See src/util/externalcommand_whitelist.h for whitelisted commands.
|
||||||
blkidCmd.run();
|
blkidCmd.run();
|
||||||
qDebug().noquote() << blkidCmd.output();
|
qDebug().noquote() << blkidCmd.output();
|
||||||
}
|
}
|
||||||
|
@ -44,9 +47,6 @@ public:
|
||||||
void run() override
|
void run() override
|
||||||
{
|
{
|
||||||
ExternalCommand lsblkCmd(QStringLiteral("lsblk"), { QStringLiteral("--nodeps"), QStringLiteral("--json") });
|
ExternalCommand lsblkCmd(QStringLiteral("lsblk"), { QStringLiteral("--nodeps"), QStringLiteral("--json") });
|
||||||
|
|
||||||
// ExternalCommadHelper will refuse to run this or any other command which is not whitelisted.
|
|
||||||
// See src/util/externalcommand_whitelist.h for whitelisted commands.
|
|
||||||
lsblkCmd.run();
|
lsblkCmd.run();
|
||||||
qDebug().noquote() << lsblkCmd.output();
|
qDebug().noquote() << lsblkCmd.output();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue