summaryrefslogtreecommitdiffstats
path: root/usr.sbin/sade
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>2001-09-14 18:29:08 +0000
committerphk <phk@FreeBSD.org>2001-09-14 18:29:08 +0000
commit0ee0b82862934a6fcd4778eecfd51137849a1637 (patch)
tree44215d0d357e6a80a0a81b78a0fbd4fa37d9a2c0 /usr.sbin/sade
parentb7739742492f086b60af639c143a182580248ebf (diff)
downloadFreeBSD-src-0ee0b82862934a6fcd4778eecfd51137849a1637.zip
FreeBSD-src-0ee0b82862934a6fcd4778eecfd51137849a1637.tar.gz
Add missing {}. This made most/all scripted installs fail.
Approved by: jkh
Diffstat (limited to 'usr.sbin/sade')
-rw-r--r--usr.sbin/sade/install.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.sbin/sade/install.c b/usr.sbin/sade/install.c
index bd75f61..9937b27 100644
--- a/usr.sbin/sade/install.c
+++ b/usr.sbin/sade/install.c
@@ -204,7 +204,7 @@ installInitial(void)
/* If we refuse to proceed, bail. */
dialog_clear_norefresh();
- if (!variable_get(VAR_NO_WARN))
+ if (!variable_get(VAR_NO_WARN)) {
if (msgYesNo(
"Last Chance! Are you SURE you want continue the installation?\n\n"
"If you're running this on a disk with data you wish to save\n"
@@ -212,6 +212,7 @@ installInitial(void)
"proceeding!\n\n"
"We can take no responsibility for lost disk contents!") != 0)
return DITEM_FAILURE;
+ }
if (DITEM_STATUS(diskLabelCommit(NULL)) != DITEM_SUCCESS) {
msgConfirm("Couldn't make filesystems properly. Aborting.");
OpenPOWER on IntegriCloud