From f38b81d87dc776895f38f28be68de521ea2b2c5d Mon Sep 17 00:00:00 2001 From: Miles Bader Date: Thu, 18 Jul 1996 23:05:27 +0000 Subject: Only use the new device for INSTALL-GRUB-MBR if we successfully created it. --- release/SETUP | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'release') diff --git a/release/SETUP b/release/SETUP index 5c20f94d..d5ba2978 100644 --- a/release/SETUP +++ b/release/SETUP @@ -29,8 +29,7 @@ cd /dev set +v -if test "$BOOT_DEV"; then - /bin/sh ./MAKEDEV "$BOOT_DEV" +if test "$BOOT_DEV" && /bin/sh ./MAKEDEV "$BOOT_DEV"; then echo -n "Install grub as main boot record on $BOOT_DEV? [y] " read yn case "$yn" in -- cgit v1.2.3