mirror of
https://github.com/Dasharo/systemd.git
synced 2026-03-06 15:02:31 -08:00
udevadm: make sure we don't reset max children on each invocation
Follow-up to e4080a6d97.
This commit is contained in:
@@ -219,7 +219,7 @@ int control_main(int argc, char *argv[], void *userdata) {
|
||||
return log_error_errno(r, "Failed to send request to update environment: %m");
|
||||
}
|
||||
|
||||
if (arg_max_children) {
|
||||
if (arg_max_children >= 0) {
|
||||
r = udev_ctrl_send_set_children_max(uctrl, arg_max_children);
|
||||
if (r < 0)
|
||||
return log_error_errno(r, "Failed to send request to set number of children: %m");
|
||||
|
||||
Reference in New Issue
Block a user