Skip to content

Commit

Permalink
fix: continue after no devices found
Browse files Browse the repository at this point in the history
  • Loading branch information
dongwlin committed Nov 21, 2023
1 parent 8238c38 commit 494c7da
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/cli/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,7 @@ bool select_device(std::string& name, std::string& SN, std::string& adb)
auto device_size = scanning_devices();
if (device_size == 0) {
mpause();
return 1;
return false;
}
MaaSize device_index;
if (!select_device_index(device_size, device_index)) {
Expand Down

0 comments on commit 494c7da

Please sign in to comment.