mirror of
https://github.com/tw93/Mole.git
synced 2026-02-08 15:34:20 +00:00
Safety reinforcement
This commit is contained in:
@@ -304,7 +304,7 @@ cleanup_temp_files() {
|
||||
|
||||
if [[ ${#MOLE_TEMP_DIRS[@]} -gt 0 ]]; then
|
||||
for file in "${MOLE_TEMP_DIRS[@]}"; do
|
||||
[[ -d "$file" ]] && rm -rf "$file" 2> /dev/null || true
|
||||
[[ -d "$file" ]] && rm -rf "$file" 2> /dev/null || true # SAFE: cleanup_temp_files
|
||||
done
|
||||
fi
|
||||
|
||||
|
||||
Reference in New Issue
Block a user