summaryrefslogtreecommitdiffstats
path: root/usr.sbin/sysinstall/media.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/media.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/media.c')
-rw-r--r--usr.sbin/sysinstall/media.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/sysinstall/media.c b/usr.sbin/sysinstall/media.c
index c53b671..dda7139 100644
--- a/usr.sbin/sysinstall/media.c
+++ b/usr.sbin/sysinstall/media.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: media.c,v 1.58 1996/10/02 08:25:11 jkh Exp $
+ * $Id: media.c,v 1.59 1996/10/06 02:10:54 jkh Exp $
*
* Copyright (c) 1995
* Jordan Hubbard. All rights reserved.
@@ -297,7 +297,7 @@ mediaSetFTP(dialogMenuItem *self)
dialog_clear_norefresh();
if (network_init || msgYesNo("You've already done the network configuration once,\n"
- "would you like to skip over it now?")) {
+ "would you like to skip over it now?") != 0) {
if (!tcpDeviceSelect()) {
variable_unset(VAR_FTP_PATH);
return DITEM_FAILURE | what;
OpenPOWER on IntegriCloud