mirror of
https://github.com/swaywm/sway.git
synced 2025-11-07 13:29:56 -05:00
Disallow everything by default
And update config.d/security to configure sane defaults
This commit is contained in:
parent
93d99f3712
commit
e7a764fdf4
4 changed files with 34 additions and 13 deletions
|
|
@ -524,7 +524,7 @@ struct cmd_results *config_commands_command(char *exec) {
|
|||
}
|
||||
|
||||
struct cmd_handler *handler = find_handler(cmd, CMD_BLOCK_END);
|
||||
if (!handler) {
|
||||
if (!handler && strcmp(cmd, "*") != 0) {
|
||||
char *input = cmd ? cmd : "(empty)";
|
||||
results = cmd_results_new(CMD_INVALID, input, "Unknown/invalid command");
|
||||
goto cleanup;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue