mirror of
https://git.proxmox.com/git/fwupd
synced 2025-08-16 12:20:05 +00:00
unifying: notify users to replug when using dfu control (Fixes: #1383)
This commit is contained in:
parent
2e06dcd5e3
commit
6c5e7c1e92
@ -638,7 +638,13 @@ fu_unifying_peripheral_detach (FuDevice *device, GError **error)
|
|||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
}
|
||||||
fu_device_add_flag (device, FWUPD_DEVICE_FLAG_WAIT_FOR_REPLUG);
|
fu_device_add_flag (device, FWUPD_DEVICE_FLAG_WAIT_FOR_REPLUG);
|
||||||
return TRUE;
|
g_set_error (error,
|
||||||
|
FWUPD_ERROR,
|
||||||
|
FWUPD_ERROR_NEEDS_USER_ACTION,
|
||||||
|
"%s needs to be manually restarted to complete the update."
|
||||||
|
"Please unplug and reconnect the device and re-run the update",
|
||||||
|
fu_device_get_name (device));
|
||||||
|
return FALSE;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* this can reboot all by itself */
|
/* this can reboot all by itself */
|
||||||
|
Loading…
Reference in New Issue
Block a user