Skip to content

Commit

Permalink
[Ops] Fix a logical error in LocalServerManager
Browse files Browse the repository at this point in the history
Signed-off-by: Muntashir Al-Islam <[email protected]>
  • Loading branch information
MuntashirAkon committed Apr 11, 2024
1 parent 20e1c0a commit 935c587
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ private ClientSession getSession() throws IOException {
try {
mSession = createSession();
} catch (Exception e) {
if (!Ops.isRoot() || !Ops.isAdb()) {
if (!Ops.isRoot() && !Ops.isAdb()) {
// Do not bother attempting to create a new session
throw new IOException("Could not create session", e);
}
Expand Down

0 comments on commit 935c587

Please sign in to comment.