RootShell: multiplex commands
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
This commit is contained in:
@@ -65,6 +65,10 @@ public final class ToolsInstaller {
|
||||
new File(installDir, names[1]),
|
||||
new File(installDir, names[1])));
|
||||
}
|
||||
return rootShell.run(null, script.toString());
|
||||
try {
|
||||
return rootShell.run(null, script.toString());
|
||||
} catch (Exception e) {
|
||||
return OsConstants.EACCES;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user