This PR fixes a mistake introduced in #563, the return value of selectDevice should indicate if device was chosen successfully, not if processes on it are successful otherwise if build fails and the selected device was set by trySelectingInitiallDevice we are getting stuck in infinite loop.
This PR fixes a mistake introduced in #563, the return value of
selectDevice
should indicate if device was chosen successfully, not if processes on it are successful otherwise if build fails and the selected device was set bytrySelectingInitiallDevice
we are getting stuck in infinite loop.