Fix #318: only show "[ OK ] Calling foo" progress for runparts ...

For all other run_parts() use-cases we just give the script control over
stdout/stderr to prevent clobbering ANSI color escape codes.

Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
This commit is contained in:
Joachim Wiberg committed 2022-11-23 21:49:30 +01:00
1 parent c84ababbd4
commit 0498326962
5 files changed
+9 -7

No files matched your search

+1 -1
View File
@@ -602,7 +602,7 @@ static void bootstrap_worker(void *work)
* Run startup scripts in the runparts directory, if any.
*/
if (runparts && fisdir(runparts) && !rescue)
run_parts(runparts, NULL);
run_parts(runparts, NULL, 1);
/*