aboutsummaryrefslogtreecommitdiff
path: root/release/i386
diff options
context:
space:
mode:
authorGlen Barber <gjb@FreeBSD.org>2014-10-29 16:20:49 +0000
committerGlen Barber <gjb@FreeBSD.org>2014-10-29 16:20:49 +0000
commit461f70f64addf73babe6a0c5ed1f808fb88ac197 (patch)
tree98881dea42fe6399e3c71a315801334bb980cba9 /release/i386
parentf27438c75256f550d9327bf6d3915fc83fd34620 (diff)
downloadsrc-461f70f64addf73babe6a0c5ed1f808fb88ac197.tar.gz
src-461f70f64addf73babe6a0c5ed1f808fb88ac197.zip
Remove a few vestiges of passing an exit code to
panic(). Sponsored by: The FreeBSD Foundation
Notes
Notes: svn path=/projects/release-vmimage/; revision=273826
Diffstat (limited to 'release/i386')
-rwxr-xr-xrelease/i386/mk-azure.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/release/i386/mk-azure.sh b/release/i386/mk-azure.sh
index 43c92040ed35..ac89258996f4 100755
--- a/release/i386/mk-azure.sh
+++ b/release/i386/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