From: Mike Yuan Date: Sat, 13 Apr 2024 12:30:16 +0000 (+0800) Subject: core/dbus-manager: rephrase the comment for method_get_unit_processes a bit X-Git-Tag: v256-rc1~198^2~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ad68a4e58a5b0794e031c48e91336c1f8a75c9e9;p=thirdparty%2Fsystemd.git core/dbus-manager: rephrase the comment for method_get_unit_processes a bit --- diff --git a/src/core/dbus-manager.c b/src/core/dbus-manager.c index 59a7f2bd356..7077d44723b 100644 --- a/src/core/dbus-manager.c +++ b/src/core/dbus-manager.c @@ -948,9 +948,10 @@ static int method_list_units_by_names(sd_bus_message *message, void *userdata, s } static int method_get_unit_processes(sd_bus_message *message, void *userdata, sd_bus_error *error) { - /* Don't load a unit (since it won't have any processes if it's not loaded), but don't insist on the - * unit being loaded (because even improperly loaded units might still have processes around */ - return method_generic_unit_operation(message, userdata, error, bus_unit_method_get_processes, 0); + /* Don't load a unit actively (since it won't have any processes if it's not loaded), but don't + * insist on the unit being loaded either (because even improperly loaded units might still have + * processes around). */ + return method_generic_unit_operation(message, userdata, error, bus_unit_method_get_processes, /* flags = */ 0); } static int method_attach_processes_to_unit(sd_bus_message *message, void *userdata, sd_bus_error *error) {