Apply pending /etc/ttys changes before calling editor on it
Approved by: rwatson
This commit is contained in:
parent
b10fee5d7b
commit
cf9da17cbb
@ -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);
|
||||
|
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user