Skip to content

Conversation

@triangle-motelti
Copy link

@triangle-motelti triangle-motelti commented Oct 21, 2025

the temporary file cleanup in LinuxCleaner_42.sh used unquoted command substitution (clean_glob $(find /tmp ...)) which failed on filenames containing spaces or special characters due to improper word splitting

replaced with find -exec command which safely processes each file individually without relying on shell expansion

find /tmp -type f -user "$USER" -exec rm -f {} ; 2>/dev/null

ensures reliable cleanup of all temporary files regardless of filename complexity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant