1
1
mirror of https://github.com/systemd/systemd-stable.git synced 2025-01-20 14:03:39 +03:00

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.

(cherry picked from commit 3f4a7a472f90949425f76ffde39a6c94a0b77e0b)
(cherry picked from commit 7feb10fdda886d50fa7ba2e252b31ba815411893)
(cherry picked from commit cd24f42fe12673eb9001ad74e842bdd2ba80a206)
This commit is contained in:
Mike Yuan 2023-12-12 16:42:19 +08:00 committed by Luca Boccassi
parent 1cdd0c2804
commit faeae4a8f6

View File

@ -1285,6 +1285,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.",