mirror of
https://github.com/systemd/systemd.git
synced 2024-12-26 03:22:00 +03:00
[PATCH] reduce syslog noise of udevsend if multiple instances try to start udevd
This commit is contained in:
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);
|
||||
|
Loading…
Reference in New Issue
Block a user