mirror of
https://github.com/systemd/systemd.git
synced 2025-03-28 02:50:16 +03:00
udev: fix assignment of ret_truncated
Follow-ups for 089bef66316e5bdc91b9984148e5a6455449c1da.
This commit is contained in:
parent
955d5012e0
commit
5e485e1aa2
@ -234,7 +234,8 @@ int udev_event_spawn(
|
||||
!STARTSWITH_SET(cmd, "ata_id", "cdrom_id", "dmi_memory_id", "fido_id", "mtd_probe", "scsi_id")) {
|
||||
log_device_debug(event->dev, "Running in test mode, skipping execution of '%s'.", cmd);
|
||||
result[0] = '\0';
|
||||
ret_truncated = false;
|
||||
if (ret_truncated)
|
||||
*ret_truncated = false;
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user