summaryrefslogtreecommitdiff
path: root/sway/commands/exec.c
diff options
context:
space:
mode:
Diffstat (limited to 'sway/commands/exec.c')
-rw-r--r--sway/commands/exec.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sway/commands/exec.c b/sway/commands/exec.c
index 58ef5f94..363d5bef 100644
--- a/sway/commands/exec.c
+++ b/sway/commands/exec.c
@@ -1,5 +1,6 @@
#include <string.h>
#include "sway/commands.h"
+#include "sway/config.h"
#include "log.h"
#include "stringop.h"
@@ -7,10 +8,9 @@ struct cmd_results *cmd_exec(int argc, char **argv) {
if (!config->active) return cmd_results_new(CMD_DEFER, "exec", NULL);
if (config->reloading) {
char *args = join_args(argv, argc);
- sway_log(L_DEBUG, "Ignoring 'exec %s' due to reload", args);
+ wlr_log(L_DEBUG, "Ignoring 'exec %s' due to reload", args);
free(args);
return cmd_results_new(CMD_SUCCESS, NULL, NULL);
}
return cmd_exec_always(argc, argv);
}
-