Set working directory for run-shell and if-shell.

This commit is contained in:
nicm
2015-04-24 22:19:36 +00:00
parent 5a2d0533a8
commit 583b4ab72b
6 changed files with 31 additions and 10 deletions

View File

@ -515,7 +515,7 @@ status_find_job(struct client *c, char **iptr)
/* If not found at all, start the job and add to the tree. */
if (so == NULL) {
job_run(cmd, NULL, status_job_callback, status_job_free, c);
job_run(cmd, NULL, -1, status_job_callback, status_job_free, c);
c->references++;
so = xmalloc(sizeof *so);