From d94b274fd9f4e7a4ef71e25832ab7baedf10bd50 Mon Sep 17 00:00:00 2001 From: Leah Rowe Date: Mon, 27 Jan 2025 06:57:30 +0000 Subject: vendor.sh: don't error if grep -v fails Signed-off-by: Leah Rowe --- include/vendor.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include') diff --git a/include/vendor.sh b/include/vendor.sh index d03434cb..fb7d7cdf 100644 --- a/include/vendor.sh +++ b/include/vendor.sh @@ -747,7 +747,7 @@ modify_mac_addresses() done < "tmp/rom.list" printf "\nThe following GbE NVM words were written in '%s':\n" \ "$archive" - x_ util/nvmutil/nvm tmp/gbe dump | grep -v "bytes read from file" + x_ util/nvmutil/nvm tmp/gbe dump | grep -v "bytes read from file" || : [ "$new_mac" = "restore" ] && \ printf "\nNOTE: User specified setmac 'restore' argument.\n" && \ -- cgit v1.2.1