diff --git a/src/util/externalcommand_whitelist.h b/src/util/externalcommand_whitelist.h index 4c52ced..a224dc8 100644 --- a/src/util/externalcommand_whitelist.h +++ b/src/util/externalcommand_whitelist.h @@ -8,7 +8,9 @@ #ifndef KPMCORE_EXTERNALCOMMAND_WHITELIST_H #define KPMCORE_EXTERNALCOMMAND_WHITELIST_H -QString allowedCommands[] = { +#include + +const std::unordered_set allowedCommands { // TODO no root needed QStringLiteral("lsblk"), QStringLiteral("udevadm"),