Skip to content

Commit 6e18a09

Browse files
cgwaltersJohan-Liebert1
authored andcommitted
status: Use constant for composefs
Signed-off-by: Colin Walters <[email protected]>
1 parent 96f5f81 commit 6e18a09

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/lib/src/status.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ pub(crate) fn composefs_booted() -> Result<Option<&'static str>> {
7070
return Ok(v.as_deref());
7171
}
7272
let cmdline = Cmdline::from_proc()?;
73-
let Some(kv) = cmdline.find_str("composefs") else {
73+
let Some(kv) = cmdline.find_str(COMPOSEFS_CMDLINE) else {
7474
return Ok(None);
7575
};
7676
let Some(v) = kv.value else { return Ok(None) };

0 commit comments

Comments
 (0)