addonsu: Don't mount SAR system to /system
Change-Id: Ic2f0a994477a5bc04b32e24b0bd4baaa2773ff55
diff --git a/addonsu/updater-script-remove b/addonsu/updater-script-remove
index bd753a3..6531e55 100644
--- a/addonsu/updater-script-remove
+++ b/addonsu/updater-script-remove
@@ -12,10 +12,10 @@
delete("/system/etc/init/superuser.rc");
delete("/system/xbin/su");
else
- delete("/system/system/addon.d/51-addonsu.sh");
- delete("/system/system/bin/su");
- delete("/system/system/etc/init/superuser.rc");
- delete("/system/system/xbin/su");
+ delete("/system_root/system/addon.d/51-addonsu.sh");
+ delete("/system_root/system/bin/su");
+ delete("/system_root/system/etc/init/superuser.rc");
+ delete("/system_root/system/xbin/su");
endif;
run_program("/tmp/unmount-system.sh") == 0 || ui_print("Could not unmount /system");