diff --git a/idevice/src/services/misagent.rs b/idevice/src/services/misagent.rs index 0018ba1..ab9b4b1 100644 --- a/idevice/src/services/misagent.rs +++ b/idevice/src/services/misagent.rs @@ -105,7 +105,7 @@ impl MisagentClient { match res.remove("Status") { Some(plist::Value::Integer(status)) => { if let Some(status) = status.as_unsigned() { - if status == 1 { + if status == 0 { Ok(()) } else { Err(IdeviceError::MisagentFailure) @@ -155,7 +155,7 @@ impl MisagentClient { match res.remove("Status") { Some(plist::Value::Integer(status)) => { if let Some(status) = status.as_unsigned() { - if status == 1 { + if status == 0 { Ok(()) } else { Err(IdeviceError::MisagentFailure)