From d5fe860ebf0609bcd126c7fdf5da0637c3843438 Mon Sep 17 00:00:00 2001 From: Dieter Plaetinck Date: Sun, 12 Dec 2010 23:21:44 +0100 Subject: renew_blockdevices fix, bug introduced in 1641a8975040df2706b191025568b953af0841ef --- src/core/libs/lib-ui-interactive.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/core/libs') diff --git a/src/core/libs/lib-ui-interactive.sh b/src/core/libs/lib-ui-interactive.sh index 1a5eb02..4230fde 100644 --- a/src/core/libs/lib-ui-interactive.sh +++ b/src/core/libs/lib-ui-interactive.sh @@ -561,7 +561,7 @@ remove_blockdevice () interactive_filesystems() { - if [ -f $TMP_BLOCKDEVICES ] && ! ask_yesno "Previous blockdevice definitions found:\n`cat $TMP_BLOCKDEVICES`\n\ + if [ ! -f $TMP_BLOCKDEVICES ] || ! ask_yesno "Previous blockdevice definitions found:\n`cat $TMP_BLOCKDEVICES`\n\ Use these as a starting point? Make sure your disk(s) are partitioned correctly so your definitions can be applied. Pick 'no' when in doubt to start from scratch" no then findblockdevices 'raw no_label no_fs\n' > $TMP_BLOCKDEVICES -- cgit v1.2.3-54-g00ecf