summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--release/SETUP3
1 files changed, 1 insertions, 2 deletions
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