Skip to content

Commit 099fced

Browse files
committed
fix(pkg/board/remote): adb kill all port use wrong command
1 parent 66af892 commit 099fced

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/board/remote/adb/adb.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ func (a *ADBConnection) Forward(ctx context.Context, localPort int, remotePort i
132132
}
133133

134134
func (a *ADBConnection) ForwardKillAll(ctx context.Context) error {
135-
cmd, err := paths.NewProcess(nil, a.adbPath, "-s", a.host, "killforward-all")
135+
cmd, err := paths.NewProcess(nil, a.adbPath, "-s", a.host, "forward", "--remove-all")
136136
if err != nil {
137137
return err
138138
}

0 commit comments

Comments
 (0)