diff options
-rw-r--r-- | sway/main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sway/main.c b/sway/main.c index 59998e0c..eb103a1e 100644 --- a/sway/main.c +++ b/sway/main.c | |||
@@ -178,7 +178,7 @@ static void security_sanity_check() { | |||
178 | { "reject", CONTEXT_CONFIG, false }, | 178 | { "reject", CONTEXT_CONFIG, false }, |
179 | { "ipc", CONTEXT_CONFIG, false }, | 179 | { "ipc", CONTEXT_CONFIG, false }, |
180 | }; | 180 | }; |
181 | int expected_len = 5; | 181 | int expected_len = 4; |
182 | for (int i = 0; i < config->command_policies->length; ++i) { | 182 | for (int i = 0; i < config->command_policies->length; ++i) { |
183 | struct command_policy *policy = config->command_policies->items[i]; | 183 | struct command_policy *policy = config->command_policies->items[i]; |
184 | for (int j = 0; j < expected_len; ++j) { | 184 | for (int j = 0; j < expected_len; ++j) { |