aboutsummaryrefslogtreecommitdiffstats
path: root/extendedcommands.c
diff options
context:
space:
mode:
Diffstat (limited to 'extendedcommands.c')
-rw-r--r--extendedcommands.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/extendedcommands.c b/extendedcommands.c
index 5a1ab6d..6ee9c9d 100644
--- a/extendedcommands.c
+++ b/extendedcommands.c
@@ -1601,7 +1601,7 @@ int verify_root_and_recovery() {
ui_show_text(1);
ret = 1;
if (confirm_selection("Root access is missing. Root device?", "Yes - Root device (/system/xbin/su)")) {
- __system("cp /sbin/su /system/xbin/su");
+ __system("cp /sbin/su.recovery /system/xbin/su");
__system("chmod 6755 /system/xbin/su");
__system("ln -sf /system/xbin/su /system/bin/su");
}