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 adcd470 + 03e0538 commit 54b8bdcCopy full SHA for 54b8bdc
alpm-utils/src/conf.rs
@@ -59,8 +59,10 @@ pub fn configure_alpm(alpm: &mut Alpm, conf: &Config) -> alpm::Result<()> {
59
alpm.set_parallel_downloads(conf.parallel_downloads as u32);
60
#[cfg(feature = "git")]
61
{
62
- alpm.set_disable_sandbox_filesystem(conf.disable_sandbox);
63
- alpm.set_disable_sandbox_syscalls(conf.disable_sandbox);
+ alpm.set_disable_sandbox_filesystem(
+ conf.disable_sandbox_filesystem || conf.disable_sandbox,
64
+ );
65
+ alpm.set_disable_sandbox_syscalls(conf.disable_sandbox_syscalls || conf.disable_sandbox);
66
}
67
#[cfg(not(feature = "git"))]
68
alpm.set_disable_sandbox(conf.disable_sandbox);
0 commit comments