Remove unnecessary redirect error stream

This commit is contained in:
Mygod
2018-06-13 08:20:12 +08:00
parent 9a159a9fa2
commit 202c4f87a8

View File

@@ -15,7 +15,6 @@ private class SuFailure : RuntimeException()
fun loggerSuStream(command: String): InputStream? {
val process = try {
ProcessBuilder("su", "-c", command)
.redirectErrorStream(true)
.directory(app.deviceContext.cacheDir)
.start()
} catch (e: IOException) {