Skip to content

Commit

Permalink
change su to su -c
Browse files Browse the repository at this point in the history
  • Loading branch information
Tokito authored Jun 30, 2023
1 parent 2473d12 commit 7833697
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -502,7 +502,7 @@ class MainActivity : ScopedAppActivity(), BottomNavigationView.OnNavigationItemS
setTheme()

fun executeCommandWithRoot() {
val command = "su"
val command = "su -c"
Shell.su(command).exec()
if (Shell.isAppGrantedRoot() != true)
{
Expand Down

0 comments on commit 7833697

Please sign in to comment.