From 2b2c5b7c5f068eab792123aba373dad4f6f9c57c Mon Sep 17 00:00:00 2001 From: Sims <38142618+suchmememanyskill@users.noreply.github.com> Date: Sat, 27 Apr 2024 18:58:29 +0200 Subject: [PATCH] force close save in systemwipe script --- scripts/SystemWipe.te | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/SystemWipe.te b/scripts/SystemWipe.te index c541a40..8cc8367 100644 --- a/scripts/SystemWipe.te +++ b/scripts/SystemWipe.te @@ -62,6 +62,7 @@ if(idxs.write("/imkvdb.arc",idb)){p("imkvdb write failed")pe()} if(idxs.resize("/lastPublishedId",ba0.len())){p("lastPublishedId resize failed")pe()} if(idxs.write("/lastPublishedId",ba0)){p("lastPublishedId write failed")pe()} if(idxs.commit()){p("Indexer save commit failed")pe()} +idxs=0 pr("Done!\nDeleting user dirs...")ud=["Album","Contents","save","saveMeta","temp"] if(mount("USER")){p("Mount failed!")pe()} ud.foreach("x"){pr("\n"+x,"")if(deldir("bis:/"+x)){p("Dir deletion failed")pe()}mkdir("bis:/"+x)}