diff options
Diffstat (limited to 'sway/commands/exec.c')
-rw-r--r-- | sway/commands/exec.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sway/commands/exec.c b/sway/commands/exec.c index 7fc54123..dc8d8aac 100644 --- a/sway/commands/exec.c +++ b/sway/commands/exec.c | |||
@@ -5,12 +5,12 @@ | |||
5 | #include "stringop.h" | 5 | #include "stringop.h" |
6 | 6 | ||
7 | struct cmd_results *cmd_exec(int argc, char **argv) { | 7 | struct cmd_results *cmd_exec(int argc, char **argv) { |
8 | if (!config->active) return cmd_results_new(CMD_DEFER, "exec", NULL); | 8 | if (!config->active) return cmd_results_new(CMD_DEFER, NULL); |
9 | if (config->reloading) { | 9 | if (config->reloading) { |
10 | char *args = join_args(argv, argc); | 10 | char *args = join_args(argv, argc); |
11 | wlr_log(WLR_DEBUG, "Ignoring 'exec %s' due to reload", args); | 11 | wlr_log(WLR_DEBUG, "Ignoring 'exec %s' due to reload", args); |
12 | free(args); | 12 | free(args); |
13 | return cmd_results_new(CMD_SUCCESS, NULL, NULL); | 13 | return cmd_results_new(CMD_SUCCESS, NULL); |
14 | } | 14 | } |
15 | return cmd_exec_always(argc, argv); | 15 | return cmd_exec_always(argc, argv); |
16 | } | 16 | } |