Comment out

This commit is contained in:
Shubham Jangra 2019-05-19 01:01:05 +05:30
parent 3675a199bf
commit 54f0c98dc0
1 changed files with 3 additions and 3 deletions

View File

@ -32,6 +32,9 @@ public:
void run() override
{
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();
qDebug().noquote() << blkidCmd.output();
}
@ -44,9 +47,6 @@ public:
void run() override
{
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();
qDebug().noquote() << lsblkCmd.output();
}