From cf9da17cbbd258ad9f07ae526ada2fef9ecc8741 Mon Sep 17 00:00:00 2001 From: "Andrey A. Chernov" Date: Tue, 7 Aug 2001 15:13:42 +0000 Subject: [PATCH] Apply pending /etc/ttys changes before calling editor on it Approved by: rwatson --- usr.sbin/sade/config.c | 1 + usr.sbin/sysinstall/config.c | 1 + 2 files changed, 2 insertions(+) diff --git a/usr.sbin/sade/config.c b/usr.sbin/sade/config.c index 3a83157ee55..4f1db607b2c 100644 --- a/usr.sbin/sade/config.c +++ b/usr.sbin/sade/config.c @@ -1046,6 +1046,7 @@ configEtcTtys(dialogMenuItem *self) "configuration.\n\n" "To load /etc/ttys in the editor, select [Yes], otherwise, [No].")) { } else { + configTtys(); sprintf(cmd, "%s /etc/ttys", variable_get(VAR_EDITOR)); dialog_clear(); systemExecute(cmd); diff --git a/usr.sbin/sysinstall/config.c b/usr.sbin/sysinstall/config.c index 3a83157ee55..4f1db607b2c 100644 --- a/usr.sbin/sysinstall/config.c +++ b/usr.sbin/sysinstall/config.c @@ -1046,6 +1046,7 @@ configEtcTtys(dialogMenuItem *self) "configuration.\n\n" "To load /etc/ttys in the editor, select [Yes], otherwise, [No].")) { } else { + configTtys(); sprintf(cmd, "%s /etc/ttys", variable_get(VAR_EDITOR)); dialog_clear(); systemExecute(cmd);