commit 8a0ea6e12b379216e6c498ec15d480cf95e9bbe4 Author: Than Ngo Date: Tue Feb 25 12:14:00 2020 +0100 update_flash_nv: fixup null byte command substitution warning diff --git a/scripts/update_flash_nv b/scripts/update_flash_nv index bb9dfee..8be9e8e 100755 --- a/scripts/update_flash_nv +++ b/scripts/update_flash_nv @@ -313,7 +313,7 @@ fsp_validate_flash() { echo 1 > $SYS_VALIDATE_FLASH 2>/dev/null # Display appropriate message, exiting if necessary - output="$(cat $SYS_VALIDATE_FLASH)" + output="$(tr -d '\0' < $SYS_VALIDATE_FLASH)" fsp_echo_validate_return_status "$output" }