From: Zbigniew Jędrzejewski-Szmek Date: Wed, 4 Apr 2018 12:36:56 +0000 (+0200) Subject: core: minor comment update X-Git-Tag: v239~425^2~3 X-Git-Url: http://git-history.diyao.me/?a=commitdiff_plain;h=e9e8cbc83a3c08f06d7cef207be468188ce35325;p=systemd%2F.git core: minor comment update --- diff --git a/src/core/unit.c b/src/core/unit.c index 9ee50d3882..3512826707 100644 --- a/src/core/unit.c +++ b/src/core/unit.c @@ -1327,7 +1327,7 @@ int unit_load_fragment_and_dropin_optional(Unit *u) { /* Same as unit_load_fragment_and_dropin(), but whether * something can be loaded or not doesn't matter. */ - /* Load a .service file */ + /* Load a .service/.socket/.slice/… file */ r = unit_load_fragment(u); if (r < 0) return r; @@ -4728,9 +4728,8 @@ bool unit_is_pristine(Unit *u) { /* Check if the unit already exists or is already around, * in a number of different ways. Note that to cater for unit * types such as slice, we are generally fine with units that - * are marked UNIT_LOADED even though nothing was - * actually loaded, as those unit types don't require a file - * on disk to validly load. */ + * are marked UNIT_LOADED even though nothing was actually + * loaded, as those unit types don't require a file on disk. */ return !(!IN_SET(u->load_state, UNIT_NOT_FOUND, UNIT_LOADED) || u->fragment_path ||