core/device: add stopping job message

The use case for stopping a device unit is indeed narrow,
but we still want to show a clear message.

Preparation for later commits.
This commit is contained in:
Mike Yuan 2023-12-12 16:42:19 +08:00
parent 04651f7564
commit 3f4a7a472f
No known key found for this signature in database
GPG key ID: 417471C0A40F58B3

View file

@ -1291,6 +1291,7 @@ const UnitVTable device_vtable = {
.status_message_formats = {
.starting_stopping = {
[0] = "Expecting device %s...",
[1] = "Waiting for device %s to disappear...",
},
.finished_start_job = {
[JOB_DONE] = "Found device %s.",