summaryrefslogtreecommitdiffstats
path: root/status.c
diff options
context:
space:
mode:
authornicm <nicm>2015-04-24 22:19:36 +0000
committernicm <nicm>2015-04-24 22:19:36 +0000
commit583b4ab72b7bf66fda8ab63a08fe435483de5e5a (patch)
tree7620822095c73c5d78942cdfa7005d6a6f50019d /status.c
parent5a2d0533a84a13613fb356b66ed8ada2a65f6edf (diff)
Set working directory for run-shell and if-shell.
Diffstat (limited to 'status.c')
-rw-r--r--status.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/status.c b/status.c
index ae5d99ab..fd0292c7 100644
--- a/status.c
+++ b/status.c
@@ -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);