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
@@ -208,7 +208,7 @@ void plugin_script_run(hook_point_t no)
strlcat(path, PLUGIN_HOOK_SCRIPTS_PATH, sizeof(path));
strlcat(path, hscript_paths[no] + 4, sizeof(path));
run_parts(path, NULL);
run_parts(path, NULL, 0);
}
#else
void plugin_script_run(hook_point_t no)