From cfb3c92302356c9078fc175c04be06074a106f91 Mon Sep 17 00:00:00 2001 From: Hridya Valsaraju Date: Thu, 26 Jul 2018 13:04:06 -0700 Subject: Move recovery from /sbin to /system/bin Executables should be in /system/bin rather than sbin. Bug: 78793464 Test: boot into recovery, try adb sideload Change-Id: I194589119a099d29e56b0648f0906a5ae2aa6770 --- adb_install.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'adb_install.cpp') diff --git a/adb_install.cpp b/adb_install.cpp index 4ee5333c7..97dff221d 100644 --- a/adb_install.cpp +++ b/adb_install.cpp @@ -82,7 +82,7 @@ int apply_from_adb(bool* wipe_cache) { pid_t child; if ((child = fork()) == 0) { - execl("/sbin/recovery", "recovery", "--adbd", nullptr); + execl("/system/bin/recovery", "recovery", "--adbd", nullptr); _exit(EXIT_FAILURE); } -- cgit v1.2.3