Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/usr.sbin/sysinst When exiting from the "ftpsource" menu, exp...



details:   https://anonhg.NetBSD.org/src/rev/622f5ead95ae
branches:  trunk
changeset: 338037:622f5ead95ae
user:      martin <martin%NetBSD.org@localhost>
date:      Sat May 09 12:55:06 2015 +0000

description:
When exiting from the "ftpsource" menu, explicitly set yesno to -1 (again),
to avoid a retry loop because a submenu action has changed this global.
Fixes PR 49440.

diffstat:

 usr.sbin/sysinst/menus.mi |  3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diffs (17 lines):

diff -r 9003dccc738b -r 622f5ead95ae usr.sbin/sysinst/menus.mi
--- a/usr.sbin/sysinst/menus.mi Sat May 09 12:08:30 2015 +0000
+++ b/usr.sbin/sysinst/menus.mi Sat May 09 12:55:06 2015 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: menus.mi,v 1.7 2014/10/15 21:38:39 snj Exp $   */
+/*     $NetBSD: menus.mi,v 1.8 2015/05/09 12:55:06 martin Exp $        */
 
 /*-
  * Copyright (c) 2003 The NetBSD Foundation, Inc.
@@ -391,6 +391,7 @@
                        config_network();
                };
        option MSG_exit_menu_generic, exit, action { yesno = SET_RETRY; };
+       exit action { yesno = -1; };
 
 
 menu nfssource, y=-4, x=0, w=70, no box, no clear,



Home | Main Index | Thread Index | Old Index