From 281951154bc90849385ae4cacc3cadfc1653b877 Mon Sep 17 00:00:00 2001 From: Paul Smith Date: Wed, 13 Oct 1999 07:00:23 +0000 Subject: * Fix PR/1379: -n/-q behaves correctly when all commands are recursive. --- job.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'job.c') 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. */ -- cgit v1.2.3