summaryrefslogtreecommitdiff
path: root/job.c
diff options
context:
space:
mode:
Diffstat (limited to 'job.c')
-rw-r--r--job.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/job.c b/job.c
index b656d6c..263bc3d 100644
--- a/job.c
+++ b/job.c
@@ -794,6 +794,9 @@ start_job_command (child)
++p;
}
+ /* Update the file's command flags with any new ones we found. */
+ child->file->cmds->lines_flags[child->command_line - 1] |= flags;
+
/* If -q was given, just say that updating `failed'. The exit status of
1 tells the user that -q is saying `something to do'; the exit status
for a random error is 2. */