From 7feb10fdda886d50fa7ba2e252b31ba815411893 Mon Sep 17 00:00:00 2001
From: Mike Yuan <me@yhndnzj.com>
Date: Tue, 12 Dec 2023 16:42:19 +0800
Subject: [PATCH 0054/1160] 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)
src/core/device.c | 1 +
1 file changed, 1 insertion(+)
@@ -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.33.0