cli: confirm connection saving when autoconnect=yes (rh #953296)
Ask for confirmation in these cases: * autoconnect=yes and connection has not been saved yet * autoconnect=yes, but saved connection had autoconnect=no The confirmation can be switched off with nmcli> nmcli save-confirmation no
This commit is contained in:
@@ -125,6 +125,7 @@ typedef struct _NmCli {
|
||||
gboolean nocheck_ver; /* Don't check nmcli and NM versions: option '--nocheck' */
|
||||
gboolean ask; /* Ask for missing parameters: option '--ask' */
|
||||
gboolean editor_status_line; /* Whether to display status line in connection editor */
|
||||
gboolean editor_save_confirmation; /* Whether to ask for confirmation on saving connections with 'autoconnect=yes' */
|
||||
NmcTermColor editor_prompt_color; /* Color of prompt in connection editor */
|
||||
} NmCli;
|
||||
|
||||
|
Reference in New Issue
Block a user