aboutsummaryrefslogtreecommitdiff
path: root/sway/commands.c
diff options
context:
space:
mode:
authorDrew DeVault <ddevault@linode.com>2015-08-10 15:45:36 -0400
committerDrew DeVault <ddevault@linode.com>2015-08-10 15:45:36 -0400
commit54374d81b560d572fef5b1e5a38704349f31998e (patch)
tree3f12e656e8c7e069b4947d1e62d0b83ca33f4b65 /sway/commands.c
parentaccde8343ba0d089eb7999dec577c0848bd22132 (diff)
Fix some errors with config loading
Diffstat (limited to 'sway/commands.c')
-rw-r--r--sway/commands.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/sway/commands.c b/sway/commands.c
index 0f5f9286..3f9cc73f 100644
--- a/sway/commands.c
+++ b/sway/commands.c
@@ -368,5 +368,8 @@ int handle_command(struct sway_config *config, char *exec) {
free(argv[i]);
}
free(argv);
+ if (ret != 0) {
+ sway_log(L_ERROR, "Command failed: %s", cmd);
+ }
return ret;
}