We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1507a58 commit 64a86ebCopy full SHA for 64a86eb
lib/src/kargs.rs
@@ -61,6 +61,9 @@ pub(crate) fn get_kargs_from_ostree_root(
61
) -> Result<Vec<String>> {
62
let kargsd = root.resolve_relative_path(KARGS_PATH);
63
let kargsd = kargsd.downcast_ref::<ostree::RepoFile>().expect("downcast");
64
+ if !kargsd.query_exists(gio::Cancellable::NONE) {
65
+ return Ok(Default::default());
66
+ }
67
get_kargs_from_ostree(repo, kargsd, sys_arch)
68
}
69
0 commit comments