Remove unnecessary redirect error stream
This commit is contained in:
@@ -15,7 +15,6 @@ private class SuFailure : RuntimeException()
|
|||||||
fun loggerSuStream(command: String): InputStream? {
|
fun loggerSuStream(command: String): InputStream? {
|
||||||
val process = try {
|
val process = try {
|
||||||
ProcessBuilder("su", "-c", command)
|
ProcessBuilder("su", "-c", command)
|
||||||
.redirectErrorStream(true)
|
|
||||||
.directory(app.deviceContext.cacheDir)
|
.directory(app.deviceContext.cacheDir)
|
||||||
.start()
|
.start()
|
||||||
} catch (e: IOException) {
|
} catch (e: IOException) {
|
||||||
|
|||||||
Reference in New Issue
Block a user