commit 8d6bcc74b8fe135417f93d004292b7c3068b6f6b
parent f1e2a7daa25a59104c847b8be9efea4ffc9182a8
Author: sin <sin@2f30.org>
Date: Thu, 6 Mar 2014 10:26:54 +0000
Move set -e -x after the usage line
Diffstat:
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/stuff/create-bootable b/stuff/create-bootable
@@ -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"