mirror of
https://github.com/systemd/systemd.git
synced 2024-11-02 10:51:20 +03:00
udev: include error cause of parsing --children-max option in log message
This commit is contained in:
parent
c4d44cba4d
commit
389f9bf2cf
@ -1546,7 +1546,7 @@ static int parse_argv(int argc, char *argv[]) {
|
||||
case 'c':
|
||||
r = safe_atou(optarg, &arg_children_max);
|
||||
if (r < 0)
|
||||
log_warning("Invalid --children-max ignored: %s", optarg);
|
||||
log_warning_errno(r, "Failed to parse --children-max= value '%s', ignoring: %m", optarg);
|
||||
break;
|
||||
case 'e':
|
||||
r = parse_sec(optarg, &arg_exec_delay_usec);
|
||||
|
Loading…
Reference in New Issue
Block a user