diff --git a/lib/roles/device/resources/remote.js b/lib/roles/device/resources/remote.js index 7117684e..d85b6d76 100644 --- a/lib/roles/device/resources/remote.js +++ b/lib/roles/device/resources/remote.js @@ -44,7 +44,8 @@ module.exports = syrup() function ensureNotBusy(res) { return adb.shell(options.serial, [res.dest, '--help']) .then(function(out) { - return streamutil.findLine(out, (/text file busy/i)) + // Can be "Text is busy", "text busy" + return streamutil.findLine(out, (/busy/i)) .then(function(line) { log.info('Binary is busy, will retry') return Promise.delay(100)