diff options
author | phk <phk@FreeBSD.org> | 2001-09-14 18:29:08 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 2001-09-14 18:29:08 +0000 |
commit | 0ee0b82862934a6fcd4778eecfd51137849a1637 (patch) | |
tree | 44215d0d357e6a80a0a81b78a0fbd4fa37d9a2c0 /usr.sbin | |
parent | b7739742492f086b60af639c143a182580248ebf (diff) | |
download | FreeBSD-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')
-rw-r--r-- | usr.sbin/sade/install.c | 3 | ||||
-rw-r--r-- | usr.sbin/sysinstall/install.c | 3 |
2 files changed, 4 insertions, 2 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."); diff --git a/usr.sbin/sysinstall/install.c b/usr.sbin/sysinstall/install.c index bd75f61..9937b27 100644 --- a/usr.sbin/sysinstall/install.c +++ b/usr.sbin/sysinstall/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."); |