From 54f0c98dc09b20821c828ea5c48d79c4de9a5af7 Mon Sep 17 00:00:00 2001 From: Shubham Jangra Date: Sun, 19 May 2019 01:01:05 +0530 Subject: [PATCH] Comment out --- test/testexternalcommand.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/test/testexternalcommand.cpp b/test/testexternalcommand.cpp index 98ce46c..7913b7d 100644 --- a/test/testexternalcommand.cpp +++ b/test/testexternalcommand.cpp @@ -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(); }