summaryrefslogtreecommitdiffstats
path: root/usr.sbin/sysinstall/cdrom.c
diff options
context:
space:
mode:
authorjkh <jkh@FreeBSD.org>1996-10-09 09:53:41 +0000
committerjkh <jkh@FreeBSD.org>1996-10-09 09:53:41 +0000
commitb3eb03e7b20f86e4b1db6d6d331ca84589f0aaab (patch)
tree582f7305489b1b0eb4f1fe710dfa64c961bf54f2 /usr.sbin/sysinstall/cdrom.c
parentf7abebc6e2c0e6c168bb4376dcceb3ed263c1ccc (diff)
downloadFreeBSD-src-b3eb03e7b20f86e4b1db6d6d331ca84589f0aaab.zip
FreeBSD-src-b3eb03e7b20f86e4b1db6d6d331ca84589f0aaab.tar.gz
DTRT if ESC is hit in a Yes/No dialog.
Noticed-by: jfieber
Diffstat (limited to 'usr.sbin/sysinstall/cdrom.c')
-rw-r--r--usr.sbin/sysinstall/cdrom.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/sysinstall/cdrom.c b/usr.sbin/sysinstall/cdrom.c
index c8aaf4e..723c38c 100644
--- a/usr.sbin/sysinstall/cdrom.c
+++ b/usr.sbin/sysinstall/cdrom.c
@@ -4,7 +4,7 @@
* This is probably the last attempt in the `sysinstall' line, the next
* generation being slated to essentially a complete rewrite.
*
- * $Id: cdrom.c,v 1.22 1996/08/23 07:55:57 jkh Exp $
+ * $Id: cdrom.c,v 1.23 1996/10/01 12:13:08 jkh Exp $
*
* Copyright (c) 1995
* Jordan Hubbard. All rights reserved.
@@ -91,7 +91,7 @@ mediaInitCDROM(Device *dev)
if (!file_readable("/cdrom/cdrom.inf")) {
if (msgYesNo("Warning: The CD currently in the drive is either not a FreeBSD\n"
"CD or it is an older (pre 2.1.5) FreeBSD CD which does not\n"
- "have a version number on it. Do you wish to use this CD anyway?")) {
+ "have a version number on it. Do you wish to use this CD anyway?") != 0) {
unmount("/cdrom", MNT_FORCE);
return FALSE;
}
OpenPOWER on IntegriCloud