summaryrefslogtreecommitdiffstats
path: root/cmd-run-shell.c
diff options
context:
space:
mode:
authornicm <nicm>2017-08-30 10:33:57 +0000
committernicm <nicm>2017-08-30 10:33:57 +0000
commit17cf1b21c6c30a2d7b8cf7d9a29f495a9b01c475 (patch)
treec50c7f009ebdd188f6f3d9944190685dfc5e8402 /cmd-run-shell.c
parenta7d1ee5433825c6e09877751a751aa0d9bd27b0d (diff)
Pass flags into cmd_find_from_* to fix prefer-unattached, reported by
Thomas Sattler.
Diffstat (limited to 'cmd-run-shell.c')
-rw-r--r--cmd-run-shell.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd-run-shell.c b/cmd-run-shell.c
index f77fb36a..0d73dd2b 100644
--- a/cmd-run-shell.c
+++ b/cmd-run-shell.c
@@ -68,7 +68,7 @@ cmd_run_shell_print(struct job *job, const char *msg)
cmdq_print(cdata->item, "%s", msg);
return;
}
- if (cmd_find_from_nothing(&fs) != 0)
+ if (cmd_find_from_nothing(&fs, 0) != 0)
return;
wp = fs.wp;
if (wp == NULL)