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.
2 parents 1507a58 + 64a86eb commit c4f3e33Copy full SHA for c4f3e33
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