Move set -x at the top

This commit is contained in:
sin 2014-03-05 17:47:33 +00:00
parent 0a7c9e877b
commit baa70b4e3b

View File

@ -2,6 +2,8 @@
#
# Ensure you've loaded the loop module with max_part=15
set -e -x
if test "$2" = ""; then
echo "Usage: $0 <rootdir> <imgfile>"
exit
@ -10,8 +12,6 @@ root=$1
img=$2
mnt="/mnt/morpheus"
set -e -x
dd if=/dev/zero of=$img bs=512M count=4
(
cat << EOF