You've already forked KernelSU-Next
mirror of
https://github.com/KernelSU-Next/KernelSU-Next.git
synced 2025-08-27 23:46:34 +00:00
Revert "ksud: make it buildable without git installed"
This reverts commit 677f8a9c44.
This commit is contained in:
@@ -223,7 +223,6 @@ pub fn on_boot_completed() -> Result<()> {
|
||||
let module_img = Path::new(defs::MODULE_IMG);
|
||||
if module_update_img.exists() {
|
||||
// this is a update and we successfully booted
|
||||
std::fs::rename(module_update_img, module_img)?;
|
||||
if std::fs::rename(module_update_img, module_img).is_err() {
|
||||
warn!("Failed to rename images, copy it now.",);
|
||||
std::fs::copy(module_update_img, module_img)
|
||||
|
||||
Reference in New Issue
Block a user