diff options
-rwxr-xr-x | util/flash_ec | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/util/flash_ec b/util/flash_ec index 069eec8da3..10ee2051ac 100755 --- a/util/flash_ec +++ b/util/flash_ec @@ -284,7 +284,7 @@ on_servov3() { error_reported= # Avoid double printing the error message. on_raiden() { if [ -z "${BOARD}" ]; then - return 0 + [ "${FLAGS_raiden}" = ${FLAGS_TRUE} ] && return 0 || return 1 fi if [ "${FLAGS_raiden}" = ${FLAGS_TRUE} ]; then if in_array "${BOARDS_RAIDEN[@]}" "${BOARD}"; then |