mirror of
https://github.com/bminor/binutils-gdb.git
synced 2025-12-24 16:27:27 +00:00
(defaulted_query): Don't ask for confirmation if server
prefix is used.
This commit is contained in:
@@ -1436,8 +1436,8 @@ defaulted_query (const char *ctlstr, const char defchar, va_list args)
|
||||
}
|
||||
|
||||
/* Automatically answer the default value if the user did not want
|
||||
prompts. */
|
||||
if (! caution)
|
||||
prompts or the command was issued with the server prefix. */
|
||||
if (! caution || server_command)
|
||||
return def_value;
|
||||
|
||||
/* If input isn't coming from the user directly, just say what
|
||||
|
||||
Reference in New Issue
Block a user