diff options
author | jkh <jkh@FreeBSD.org> | 1996-10-09 09:53:41 +0000 |
---|---|---|
committer | jkh <jkh@FreeBSD.org> | 1996-10-09 09:53:41 +0000 |
commit | b3eb03e7b20f86e4b1db6d6d331ca84589f0aaab (patch) | |
tree | 582f7305489b1b0eb4f1fe710dfa64c961bf54f2 /usr.sbin/sysinstall/floppy.c | |
parent | f7abebc6e2c0e6c168bb4376dcceb3ed263c1ccc (diff) | |
download | FreeBSD-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/floppy.c')
-rw-r--r-- | usr.sbin/sysinstall/floppy.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/sysinstall/floppy.c b/usr.sbin/sysinstall/floppy.c index 0b9991e..8d4b519 100644 --- a/usr.sbin/sysinstall/floppy.c +++ b/usr.sbin/sysinstall/floppy.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: floppy.c,v 1.14 1996/07/08 08:54:25 jkh Exp $ + * $Id: floppy.c,v 1.15 1996/09/15 23:55:22 jkh Exp $ * * Copyright (c) 1995 * Jordan Hubbard. All rights reserved. @@ -106,7 +106,7 @@ getRootFloppy(void) fd = open(floppyDev->devname, O_RDONLY); if (isDebug()) msgDebug("getRootFloppy on %s yields fd of %d\n", floppyDev->devname, fd); - if (fd == -1 && msgYesNo("Couldn't open the floppy - do you want to try again?")) + if (fd == -1 && msgYesNo("Couldn't open the floppy - do you want to try again?") != 0) break; } return fd; |