PerformScan: Bind and DisableNode Expose directives are actions
Signed-off-by: Andrew Jeffery <andrew@aj.id.au>
Change-Id: Iee5331ed5dac3dd19235145fb1fe90eff03b0316
diff --git a/src/PerformScan.cpp b/src/PerformScan.cpp
index 97a8523..61e187e 100644
--- a/src/PerformScan.cpp
+++ b/src/PerformScan.cpp
@@ -479,9 +479,9 @@
bool isBind =
boost::starts_with(keyPair.key(), "Bind");
bool isDisable = keyPair.key() == "DisableNode";
+ bool isExposeAction = isBind || isDisable;
- // special cases
- if (!(isBind || isDisable))
+ if (!isExposeAction)
{
continue;
}