aboutsummaryrefslogtreecommitdiff
path: root/release
diff options
context:
space:
mode:
authorMitchell Horne <mhorne@FreeBSD.org>2020-11-16 17:42:22 +0000
committerMitchell Horne <mhorne@FreeBSD.org>2020-11-16 17:42:22 +0000
commit1463eac6f22855f553b31e2f88fb639d47f8bd83 (patch)
tree29db9c43bc2fd792be52c540a78fb641d560125f /release
parentf3efc7b6771ef933e95033f5232045a1c7ca1399 (diff)
downloadsrc-1463eac6f22855f553b31e2f88fb639d47f8bd83.tar.gz
src-1463eac6f22855f553b31e2f88fb639d47f8bd83.zip
MFC r367176:
vmimage.subr: noisier failure for unsupported targets
Notes
Notes: svn path=/stable/12/; revision=367730
Diffstat (limited to 'release')
-rw-r--r--release/tools/vmimage.subr4
1 files changed, 2 insertions, 2 deletions
diff --git a/release/tools/vmimage.subr b/release/tools/vmimage.subr
index 5550a1c7eeed..76da8eea90c3 100644
--- a/release/tools/vmimage.subr
+++ b/release/tools/vmimage.subr
@@ -40,8 +40,8 @@ write_partition_layout() {
ROOTFSPART="-p freebsd-ufs/rootfs:=${VMBASE}"
;;
*)
- # ENOTSUPP
- return 1
+ echo "vmimage.subr: unsupported target '${TARGET}:${TARGET_ARCH}'" >&2
+ exit 1
;;
esac