mirror of
https://github.com/systemd/systemd.git
synced 2026-07-25 00:35:55 +00:00
[PATCH] reduce syslog noise of udevsend if multiple instances try to start udevd
This commit is contained in:
committed by
Greg KH
parent
a258d159f4
commit
c072fd0112
@@ -190,13 +190,13 @@ int main(int argc, char* argv[])
|
||||
}
|
||||
|
||||
if (!started_daemon) {
|
||||
info("starting udevd daemon");
|
||||
dbg("try to start udevd daemon");
|
||||
retval = start_daemon();
|
||||
if (retval) {
|
||||
info("error starting daemon");
|
||||
goto fallback;
|
||||
}
|
||||
dbg("daemon started");
|
||||
info("udevd daemon started");
|
||||
started_daemon = 1;
|
||||
} else {
|
||||
dbg("retry to connect %d", SEND_WAIT_MAX_SECONDS * SEND_WAIT_LOOP_PER_SECOND - loop);
|
||||
|
||||
Reference in New Issue
Block a user