Pass flags into cmd_find_from_* to fix prefer-unattached, reported by

Thomas Sattler.
This commit is contained in:
nicm
2017-08-30 10:33:57 +00:00
parent a7d1ee5433
commit 17cf1b21c6
17 changed files with 71 additions and 69 deletions

View File

@ -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)