From 461f70f64addf73babe6a0c5ed1f808fb88ac197 Mon Sep 17 00:00:00 2001 From: Glen Barber Date: Wed, 29 Oct 2014 16:20:49 +0000 Subject: Remove a few vestiges of passing an exit code to panic(). Sponsored by: The FreeBSD Foundation --- release/amd64/mk-azure.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'release/amd64/mk-azure.sh') diff --git a/release/amd64/mk-azure.sh b/release/amd64/mk-azure.sh index 43c92040ed35..ac89258996f4 100755 --- a/release/amd64/mk-azure.sh +++ b/release/amd64/mk-azure.sh @@ -78,7 +78,7 @@ vm_create_azure() { mount /dev/${mddev} ${DESTDIR} make -C ${WORLDDIR} DESTDIR=$(realpath ${DESTDIR}) \ installworld installkernel distribution || \ - panic 1 "\n\nCannot install the base system to ${DESTDIR}." + panic "\n\nCannot install the base system to ${DESTDIR}." mount -t devfs devfs ${DESTDIR}/dev chroot ${DESTDIR} /usr/bin/newaliases echo '# Custom /etc/fstab for FreeBSD VM images' \ @@ -125,7 +125,7 @@ vm_create_azure() { # This should never happen. But, it has happened. msg="Cannot umount(8) ${DESTDIR}\n" msg="${msg}Something has gone horribly wrong." - panic 1 "${msg}" + panic "${msg}" fi sleep 1 done -- cgit v1.2.3