tools: remove stat() check for supported interface
If an unsupported interface is requested, the open() call will simply
fail.
Signed-off-by: Benjamin Fair <benjaminfair@google.com>
Change-Id: Iefd11657d957931873a4d20246d9ccdd791ba0e5
diff --git a/tools/updater.cpp b/tools/updater.cpp
index 25f7dab..8639edd 100644
--- a/tools/updater.cpp
+++ b/tools/updater.cpp
@@ -46,10 +46,10 @@
bool goalSupported = updater->checkAvailable(layout);
if (!goalSupported)
{
- throw ToolException("Goal firmware or interface not supported");
+ throw ToolException("Goal firmware not supported");
}
- /* Yay, our data handler is supported. */
+ /* Yay, our layout type is supported. */
try
{
/* Send over the firmware image. */