]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
make-memstick.sh: use 'set -e' to abort if any step fails
authoremaste <emaste@FreeBSD.org>
Tue, 12 Sep 2017 00:44:16 +0000 (00:44 +0000)
committeremaste <emaste@FreeBSD.org>
Tue, 12 Sep 2017 00:44:16 +0000 (00:44 +0000)
commit37c44a213b3da37bce7f8639e9d6719514203493
tree60e28c0e4719179f2d8cdbf43866178e1c8151e7
parentf3afb05035e0c026f3188d677103d2b20082f119
make-memstick.sh: use 'set -e' to abort if any step fails

Also remove the now-redundant error handling that was only for makefs.

This script was run on an older FreeBSD host that lacked efi-on-mbr
support in makefs. A warning was emitted on the console (from makefs)
but the script continued running and exited with 0.

MFC of r308171 (arm64) and r323178 (other architectures).
release/amd64/make-memstick.sh
release/arm64/make-memstick.sh
release/i386/make-memstick.sh
release/powerpc/make-memstick.sh