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