Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a4f6c634 authored by Vincent Bourgmayer's avatar Vincent Bourgmayer
Browse files

update wait-recovery to fix parameter order

parent 5893bb9e
Loading
Loading
Loading
Loading
+4 −4
Original line number Diff line number Diff line
@@ -31,10 +31,10 @@
# - 101 : DEVICES_LOCKED_PATH missing


DEVICE_ID=$1
ADB_FOLDER_PATH=$2
ADB_PATH=""

ADB_FOLDER_PATH=$1
ADB_PATH=""
DEVICE_ID=$2

if [ ! -z $ADB_FOLDER_PATH ]
then
@@ -57,7 +57,7 @@ new_device=false

while ! $new_device
do
  DEVICE_ID=$(eval "$ADB_PATH get-serialno")
  DEVICE_ID=$(eval $ADB_PATH" get-serialno")

  if [ ! -z $DEVICE_ID ]
  then