mirror of
https://github.com/swaywm/sway.git
synced 2026-03-16 05:34:10 -04:00
remove checks for command handlers
This commit is contained in:
parent
5b219a1598
commit
7262bf655f
5 changed files with 0 additions and 37 deletions
|
|
@ -6,9 +6,6 @@ void sway_terminate(int exit_code);
|
|||
|
||||
struct cmd_results *cmd_exit(int argc, char **argv) {
|
||||
struct cmd_results *error = NULL;
|
||||
if (config->reading) {
|
||||
return cmd_results_new(CMD_FAILURE, "exit", "Can't be used in config file.");
|
||||
}
|
||||
if ((error = checkarg(argc, "exit", EXPECTED_EQUAL_TO, 0))) {
|
||||
return error;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue