Skip to content
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion NodeChrome/chrome-cleanup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@ cleanup_stuck_chrome_processes() {

cleanup_tmp_chrome_files() {
echo -n "Deleting all Chrome files in /tmp... "
find /tmp -name ".com.google.Chrome.*" -type d -mtime +${SE_BROWSER_LEFTOVERS_TEMPFILES_DAYS} -exec rm -rf "{}" +
find /tmp -name "*com.google.Chrome.*" -type d -mtime +${SE_BROWSER_LEFTOVERS_TEMPFILES_DAYS} -exec rm -rf "{}" +
find /tmp -name "*org.chromium.Chromium.*" -type d -mtime +${SE_BROWSER_LEFTOVERS_TEMPFILES_DAYS} -exec rm -rf "{}" +
Comment thread
VietND96 marked this conversation as resolved.
echo "DONE."
}

Expand Down
4 changes: 2 additions & 2 deletions NodeChromium/chrome-cleanup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ cleanup_stuck_chrome_processes() {
}

cleanup_tmp_chrome_files() {
echo -n "Deleting all Chrome files in /tmp... "
find /tmp -name ".com.google.Chrome.*" -type d -mtime +${SE_BROWSER_LEFTOVERS_TEMPFILES_DAYS} -exec rm -rf "{}" +
echo -n "Deleting all Chromium files in /tmp... "
find /tmp -name "*org.chromium.Chromium.*" -type d -mtime +${SE_BROWSER_LEFTOVERS_TEMPFILES_DAYS} -exec rm -rf "{}" +
echo "DONE."
}

Expand Down
Loading