diff --git a/stuff/create-bootable b/stuff/create-bootable index 2dd28e1..6c6e040 100755 --- a/stuff/create-bootable +++ b/stuff/create-bootable @@ -2,9 +2,17 @@ # # Ensure you've loaded the loop module with max_part=15 -if test "$2" = ""; then +usage() { echo "Usage: $0 " exit +} + +if test "$1" = ""; then + usage +fi + +if test "$2" = ""; then + usage fi set -e -x