svn commit: r367730 - stable/12/release/tools

Mitchell Horne mhorne at FreeBSD.org
Mon Nov 16 17:42:22 UTC 2020


Author: mhorne
Date: Mon Nov 16 17:42:22 2020
New Revision: 367730
URL: https://svnweb.freebsd.org/changeset/base/367730

Log:
  MFC r367176:
  vmimage.subr: noisier failure for unsupported targets

Modified:
  stable/12/release/tools/vmimage.subr
Directory Properties:
  stable/12/   (props changed)

Modified: stable/12/release/tools/vmimage.subr
==============================================================================
--- stable/12/release/tools/vmimage.subr	Mon Nov 16 17:41:05 2020	(r367729)
+++ stable/12/release/tools/vmimage.subr	Mon Nov 16 17:42:22 2020	(r367730)
@@ -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
 


More information about the svn-src-stable mailing list