From 43337a003af856b999ad7dc71606fc7f59197d7b Mon Sep 17 00:00:00 2001 From: Colin Walters Date: Fri, 6 Dec 2024 09:35:17 -0500 Subject: [PATCH] Update ostree-ext/src/container_utils.rs Co-authored-by: Omer Tuchfeld --- ostree-ext/src/container_utils.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ostree-ext/src/container_utils.rs b/ostree-ext/src/container_utils.rs index 9ceb193d..812cdffc 100644 --- a/ostree-ext/src/container_utils.rs +++ b/ostree-ext/src/container_utils.rs @@ -73,7 +73,7 @@ pub fn is_bare_split_xattrs() -> Result { /// 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 { +pub fn ostree_booted() -> io::Result { Path::new(&format!("/{OSTREE_BOOTED}")).try_exists() }