From 17cf1b21c6c30a2d7b8cf7d9a29f495a9b01c475 Mon Sep 17 00:00:00 2001 From: nicm Date: Wed, 30 Aug 2017 10:33:57 +0000 Subject: Pass flags into cmd_find_from_* to fix prefer-unattached, reported by Thomas Sattler. --- cmd-run-shell.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cmd-run-shell.c') 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) -- cgit