forked from lix-project/lix-installer
Fixup fdesetup isactive outputting when it should not (#163)
This commit is contained in:
parent
e9e29aacb1
commit
232789ed1c
|
@ -105,6 +105,9 @@ impl Planner for DarwinMulti {
|
||||||
let encrypt = if self.encrypt == None {
|
let encrypt = if self.encrypt == None {
|
||||||
Command::new("/usr/bin/fdesetup")
|
Command::new("/usr/bin/fdesetup")
|
||||||
.arg("isactive")
|
.arg("isactive")
|
||||||
|
.stdout(std::process::Stdio::null())
|
||||||
|
.stderr(std::process::Stdio::null())
|
||||||
|
.process_group(0)
|
||||||
.status()
|
.status()
|
||||||
.await
|
.await
|
||||||
.map_err(|e| PlannerError::Custom(Box::new(e)))?
|
.map_err(|e| PlannerError::Custom(Box::new(e)))?
|
||||||
|
|
Loading…
Reference in a new issue