diff --git a/html-minify.sh b/html-minify.sh
index 6a186c4..f04b57a 100755
--- a/html-minify.sh
+++ b/html-minify.sh
@@ -77,5 +77,5 @@ if [[ -f "$html_file" ]]; then
fi
# Clean up generated files
-rm min.*.js min.*.css min.*.svg "${html_file}.tmp"
+rm min.*.js min.*.css min.*.svg "${html_file}.tmp" 2> /dev/null
cd $dir