Skip to content

Commit

Permalink
Update ostree-ext/src/container_utils.rs
Browse files Browse the repository at this point in the history
Co-authored-by: Omer Tuchfeld <[email protected]>
  • Loading branch information
cgwalters and omertuc authored Dec 6, 2024
1 parent 0ea7549 commit 43337a0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ostree-ext/src/container_utils.rs
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ pub fn is_bare_split_xattrs() -> Result<bool> {

/// Returns true if the system appears to have been booted via ostree.
/// This accesses global state in /run.
pub fn is_ostree_booted() -> io::Result<bool> {
pub fn ostree_booted() -> io::Result<bool> {
Path::new(&format!("/{OSTREE_BOOTED}")).try_exists()
}

Expand Down

0 comments on commit 43337a0

Please sign in to comment.