diff options
| author | Jordan K. Hubbard <jkh@FreeBSD.org> | 1999-01-08 00:14:22 +0000 |
|---|---|---|
| committer | Jordan K. Hubbard <jkh@FreeBSD.org> | 1999-01-08 00:14:22 +0000 |
| commit | af61828f4482c09573b57bcdfea51a17a355477c (patch) | |
| tree | e5ef7594ea3b1af27ec00cf3c59363e6c9367fa6 /usr.sbin/sade/main.c | |
| parent | 7306cb58a893b61bf1585931306c10ec8c0cdaa3 (diff) | |
Notes
Diffstat (limited to 'usr.sbin/sade/main.c')
| -rw-r--r-- | usr.sbin/sade/main.c | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/usr.sbin/sade/main.c b/usr.sbin/sade/main.c index 2769637562c2..5840896154f2 100644 --- a/usr.sbin/sade/main.c +++ b/usr.sbin/sade/main.c @@ -4,7 +4,7 @@ * This is probably the last attempt in the `sysinstall' line, the next * generation being slated for what's essentially a complete rewrite. * - * $Id: main.c,v 1.48 1998/02/22 09:54:17 jkh Exp $ + * $Id: main.c,v 1.49 1998/03/10 13:42:02 jkh Exp $ * * Copyright (c) 1995 * Jordan Hubbard. All rights reserved. @@ -123,8 +123,14 @@ main(int argc, char **argv) while (1) { choice = scroll = curr = max = 0; dmenuOpen(&MenuInitial, &choice, &scroll, &curr, &max, TRUE); - if (getpid() != 1 || !msgYesNo("Are you sure you wish to exit? The system will reboot\n" - "(be sure to remove any floppies from the drives).")) + if (getpid() != 1 +#ifdef __alpha__ + || !msgYesNo("Are you sure you wish to exit? The system will halt.") +#else + || !msgYesNo("Are you sure you wish to exit? The system will reboot\n" + "(be sure to remove any floppies from the drives).") +#endif + ) break; } |
