mirror of
https://github.com/yuezk/GlobalProtect-openconnect.git
synced 2026-11-19 22:46:14 -05:00
fix(cli): let gpauth read the pasted callback with --browser remote (#671)
This commit is contained in:
1 parent
f9965f8a35
commit
be111a671a
3 files changed
+113
-28
No files matched your search
@@ -1,5 +1,5 @@
|
||||
use super::{
|
||||
command_runner::run_observed,
|
||||
command_runner::{ChildInput, run_observed},
|
||||
rendering_recovery::{RenderingCrash, StderrDiagnostic, eligible_with_inheritance, is_crash_exit},
|
||||
};
|
||||
use crate::service::transport::SessionCredential;
|
||||
@@ -55,7 +55,7 @@ pub(super) async fn launch_desktop_child(
|
||||
None,
|
||||
&mut |bytes| diagnostic.push(bytes),
|
||||
&mut sink,
|
||||
Some(&frame),
|
||||
ChildInput::Frame(&frame),
|
||||
)?;
|
||||
let output = observed.output;
|
||||
if is_crash_exit(output.status) && retry_eligible && diagnostic.matched() {
|
||||
|
||||
Reference in new issue
Block a user