Constellation: removed almost all opts::get

This commit is contained in:
oneturkmen 2019-06-03 18:43:50 -06:00
parent 3a2705f587
commit cd153efb4a
6 changed files with 53 additions and 23 deletions

View file

@ -646,7 +646,7 @@ impl UnprivilegedPipelineContent {
.expect("Failed to create IPC one-shot server.");
// If there is a sandbox, use the `gaol` API to create the child process.
if opts::get().sandbox {
if self.opts.sandbox {
let mut command = sandbox::Command::me().expect("Failed to get current sandbox.");
self.setup_common(&mut command, token);