summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xsrc/parted-usb.sh5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/parted-usb.sh b/src/parted-usb.sh
index e3887bb..198323b 100755
--- a/src/parted-usb.sh
+++ b/src/parted-usb.sh
@@ -229,7 +229,10 @@ fi
229sanity_checks 229sanity_checks
230set -e 230set -e
231 231
232if [ "$1" ] 232if [ "$1" = boot ]
233then
234 boot_vm boot-disk.img
235elif [ "$1" ]
233then 236then
234 [ -b "$1" ] || die "Not a block device: $1" 237 [ -b "$1" ] || die "Not a block device: $1"
235 target=$1 238 target=$1