fix retries
This commit is contained in:
		
							parent
							
								
									b2aa80d7c1
								
							
						
					
					
						commit
						5951fa8088
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -16,7 +16,7 @@ if [ "${INPUT_UHUB_CONTROL}" != "false" ]; then | |||
|     # Generally takes a few seconds to settle in | ||||
|     echo "waiting for device connection ($retries / 10)" | ||||
|     sleep 1 | ||||
|     retries=$((i+1)) | ||||
|     retries=$((retries+1)) | ||||
|   done | ||||
|   if [ $retries -ge 10 ]; then | ||||
|     echo "device is not available. Aborting" | ||||
|  |  | |||
		Loading…
	
	Add table
		
		Reference in a new issue