summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/vendor.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/vendor.sh b/include/vendor.sh
index 03ce9801..0f97a641 100644
--- a/include/vendor.sh
+++ b/include/vendor.sh
@@ -390,5 +390,6 @@ modify_gbe()
x_ cp "${CONFIG_GBE_BIN_PATH##*../}" "$TMPDIR/gbe"
x_ "util/nvmutil/nvm" "$TMPDIR/gbe" setmac $new_mac
- x_ "$ifdtool" $ifdprefix -i GbE:"$TMPDIR/gbe" "$1" -O "$1"
+ "$ifdtool" $ifdprefix -i GbE:"$TMPDIR/gbe" "$1" -O "$1" || \
+ $err "Cannot insert modified GbE region into target image."
}