mirror of
https://github.com/DeviceFarmer/stf.git
synced 2026-04-18 16:13:24 +02:00
Fix version check on Xiaomi devices by removing "open: Permission denied" from the output.
This commit is contained in:
@@ -48,7 +48,7 @@ module.exports = syrup.serial()
|
||||
log.info('Running version check')
|
||||
return adb.shell(options.serial, util.format(
|
||||
"export CLASSPATH='%s';" +
|
||||
" exec app_process /system/bin '%s' --version"
|
||||
" exec app_process /system/bin '%s' --version 2>/dev/null"
|
||||
, installedPath
|
||||
, resource.main
|
||||
))
|
||||
|
||||
Reference in New Issue
Block a user