diff options
Diffstat (limited to 'sway/commands.c')
-rw-r--r-- | sway/commands.c | 3 |
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; } |