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
2022-11-23 21:49:30 +01:00
parent c84ababbd4
commit 0498326962
5 changed files with 9 additions and 7 deletions
+1 -1
View File
@@ -45,7 +45,7 @@ static void setup(void *arg)
touch("/etc/resolvconf/run/enable-updates");
chdir("/etc/resolvconf/run/interface");
run_parts("/etc/resolvconf/update.d", "-i");
run_parts("/etc/resolvconf/update.d", "-i", 0);
chdir("/");
}