Skip to content

Commit f2dc194

Browse files
authored
adb: Don't ignore remote exit codes (#107)
Besides disabling stdout/stderr separation (effectively merging them together), `-x` ignores remote exit codes meaning failures in shell commands don't get propagated and don't fail the invocation.
1 parent c0cf359 commit f2dc194

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

xbuild/src/devices/adb.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ impl Adb {
3535

3636
fn shell(&self, device: &str, run_as: Option<&str>) -> Command {
3737
let mut cmd = self.adb(device);
38-
cmd.arg("shell").arg("-x");
38+
cmd.arg("shell");
3939
if let Some(package) = run_as {
4040
cmd.arg("run-as").arg(package);
4141
}

0 commit comments

Comments
 (0)