From c95a8c47ff93f4dde6cfd5cf3373571ce68e3b20 Mon Sep 17 00:00:00 2001 From: P. J. McDermott Date: Mon, 25 May 2015 16:10:56 -0400 Subject: cmd/installer-pc: Verify block dev before dd/fdisk --- (limited to 'lib') diff --git a/lib/cmd/installer-pc.sh b/lib/cmd/installer-pc.sh index 12e1193..faeceb3 100644 --- a/lib/cmd/installer-pc.sh +++ b/lib/cmd/installer-pc.sh @@ -50,6 +50,7 @@ cmd_installer_pc_main() suite="${1}" dev="${2}" + check_block "${dev}" if [ "x${suite%%:*}" != "x${suite}" ]; then profile="${suite%%:*}" -- cgit v0.9.1