summaryrefslogtreecommitdiffstats
path: root/cmd-run-shell.c
diff options
context:
space:
mode:
authornicm <nicm>2017-04-21 20:26:34 +0000
committernicm <nicm>2017-04-21 20:26:34 +0000
commitefaf4c16cf9fafa940dfe16ec48ca4ff68082b47 (patch)
treeb4ac4aa4f81ae7f5df53d7360cb2d7aef8cfd988 /cmd-run-shell.c
parent2ad09ab5af530ceb5fbbbe53ea99a73ef9ddbe49 (diff)
Make the cmd_find_* functions more obvious when looking for a client,
rather than having it inside other functions. Should be no change to the way targets are resolved just yet.
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 48d88049..906b6909 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_current (&fs, NULL, CMD_FIND_QUIET) != 0)
+ if (cmd_find_from_nothing(&fs) != 0)
return;
wp = fs.wp;
if (wp == NULL)