Fix #332: silence confusing [ OK ] status progress from modules-load

This change drops the confusing status progress output, which was always
OK since the actual modprobe operation runs in the background.  No need
to show status of the "added a task to finit, found modprobe" command.

Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
This commit is contained in:
Joachim Wiberg
2022-12-11 10:05:53 +01:00
parent 19847d2997
commit 685e0a80a4
+2 -2
View File
@@ -64,9 +64,9 @@
#endif #endif
#define MODPROBE_PATH "/sbin/modprobe" #define MODPROBE_PATH "/sbin/modprobe"
#define SERVICE_LINE \ #define SERVICE_LINE \
"cgroup.init name:modprobe.%s :%d [%s] %s %s %s -- Loading module %s" "cgroup.init name:modprobe.%s :%d [%s] %s %s %s --"
#define SERVICE_LINE_NOINDEX \ #define SERVICE_LINE_NOINDEX \
"cgroup.init name:modprobe.%s [%s] %s %s %s -- Loading module %s" "cgroup.init name:modprobe.%s [%s] %s %s %s --"
static int modules_load(const char *file, int index) static int modules_load(const char *file, int index)
{ {