Small fixes

This commit is contained in:
topjohnwu
2016-09-30 03:18:08 +08:00
parent e4cba70008
commit 0f5465c5da
3 changed files with 14 additions and 2 deletions

View File

@@ -191,9 +191,11 @@ public class Shell {
}
} catch (IOException e) {
if (!e.getMessage().contains("EPIPE")) {
Logger.dev("Shell: Root shell error...");
return null;
}
} catch(InterruptedException e) {
Logger.dev("Shell: Root shell error...");
return null;
}