aboutsummaryrefslogtreecommitdiff
path: root/sway
diff options
context:
space:
mode:
Diffstat (limited to 'sway')
-rw-r--r--sway/commands.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sway/commands.c b/sway/commands.c
index dd994fa1..82f41545 100644
--- a/sway/commands.c
+++ b/sway/commands.c
@@ -254,7 +254,7 @@ list_t *execute_command(char *_exec, struct sway_seat *seat,
//TODO better handling of argv
int argc;
char **argv = split_args(cmd, &argc);
- if (strcmp(argv[0], "exec") != 0) {
+ if (!strcmp(argv[0], "exec") && !strcmp(argv[0], "exec_always")) {
int i;
for (i = 1; i < argc; ++i) {
if (*argv[i] == '\"' || *argv[i] == '\'') {