swarmctl setup status: the comment names the marker file, not the journal
This commit is contained in:
parent
6acf1012cb
commit
c50f22a79f
1 changed files with 3 additions and 2 deletions
|
|
@ -285,8 +285,9 @@ fn granter_status(
|
|||
unit.name
|
||||
));
|
||||
}
|
||||
// A unit that stays off exits 0, so it counts as active: only its journal
|
||||
// shows that the bootstrap policy in the store lacks a grant the unit needs.
|
||||
// A unit that stays off exits 0, so it counts as active: only the marker
|
||||
// file it keeps shows that the bootstrap policy in the store lacks a grant
|
||||
// the unit needs.
|
||||
if let Ok(units) = units
|
||||
&& let Some(unit) = units.iter().find(|u| u.waits_for_root)
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in a new issue