Move set -e -x after the usage line

This commit is contained in:
sin 2014-03-06 10:26:54 +00:00
parent f1e2a7daa2
commit 8d6bcc74b8

View File

@ -2,12 +2,13 @@
#
# Ensure you've loaded the loop module with max_part=15
set -e -x
if test "$2" = ""; then
echo "Usage: $0 <rootdir> <imgfile>"
exit
fi
set -e -x
root=$1
img=$2
mnt="/mnt/morpheus"