mirror of
https://github.com/aljazceru/mattermost-retention.git
synced 2025-12-17 05:54:26 +01:00
Merge pull request #2 from wu3rstle/patch-1
added cleanup for cleaned data directories
This commit is contained in:
@@ -35,5 +35,8 @@ done < /tmp/mattermost-paths.list
|
||||
|
||||
#cleanup after yourself
|
||||
rm /tmp/mattermost-paths.list
|
||||
|
||||
#cleanup empty data dirs
|
||||
find $DATA_PATH -type d -empty -delete
|
||||
exit 0
|
||||
|
||||
|
||||
Reference in New Issue
Block a user