From: Mike Yuan Date: Tue, 12 Dec 2023 08:42:19 +0000 (+0800) Subject: core/device: add stopping job message X-Git-Tag: v256-rc1~1513^2~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3f4a7a472f90949425f76ffde39a6c94a0b77e0b;p=thirdparty%2Fsystemd.git 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. --- diff --git a/src/core/device.c b/src/core/device.c index d07adb2d2ae..6b2d7c3e247 100644 --- a/src/core/device.c +++ b/src/core/device.c @@ -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.",