diff options
Diffstat (limited to 'src')
-rwxr-xr-x | src/parted-usb.sh | 5 |
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 | |||
229 | sanity_checks | 229 | sanity_checks |
230 | set -e | 230 | set -e |
231 | 231 | ||
232 | if [ "$1" ] | 232 | if [ "$1" = boot ] |
233 | then | ||
234 | boot_vm boot-disk.img | ||
235 | elif [ "$1" ] | ||
233 | then | 236 | then |
234 | [ -b "$1" ] || die "Not a block device: $1" | 237 | [ -b "$1" ] || die "Not a block device: $1" |
235 | target=$1 | 238 | target=$1 |