summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorgjb <gjb@FreeBSD.org>2014-10-29 16:20:49 +0000
committergjb <gjb@FreeBSD.org>2014-10-29 16:20:49 +0000
commita452e67d0444028810849a32f47e3267b5d9560a (patch)
tree98881dea42fe6399e3c71a315801334bb980cba9
parentb2f4325812859a3c741c1c51a4a01eb697361b95 (diff)
downloadFreeBSD-src-a452e67d0444028810849a32f47e3267b5d9560a.zip
FreeBSD-src-a452e67d0444028810849a32f47e3267b5d9560a.tar.gz
Remove a few vestiges of passing an exit code to
panic(). Sponsored by: The FreeBSD Foundation
-rwxr-xr-xrelease/amd64/mk-azure.sh4
-rwxr-xr-xrelease/i386/mk-azure.sh4
2 files changed, 4 insertions, 4 deletions
diff --git a/release/amd64/mk-azure.sh b/release/amd64/mk-azure.sh
index 43c9204..ac89258 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
diff --git a/release/i386/mk-azure.sh b/release/i386/mk-azure.sh
index 43c9204..ac89258 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
OpenPOWER on IntegriCloud