fix: Return false when unable to add console command

This commit is contained in:
Chris Cameron
2018-06-12 14:50:02 -04:00
parent f818653298
commit fb267465ce

View File

@@ -138,8 +138,10 @@ namespace ICD.Common.Utils
return false; return false;
CrestronConsole.AddNewConsoleCommand(str => callback(str), command, help, (ConsoleAccessLevelEnum)(int)accessLevel); CrestronConsole.AddNewConsoleCommand(str => callback(str), command, help, (ConsoleAccessLevelEnum)(int)accessLevel);
#endif
return true; return true;
#else
return false;
#endif
} }
} }
} }