From 3f4a7a472f90949425f76ffde39a6c94a0b77e0b Mon Sep 17 00:00:00 2001 From: Mike Yuan Date: Tue, 12 Dec 2023 16:42:19 +0800 Subject: [PATCH] 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. --- src/core/device.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/core/device.c b/src/core/device.c index d07adb2d2a..6b2d7c3e24 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.", -- 2.25.1