Merge pull request #2 from wu3rstle/patch-1

added cleanup for cleaned data directories
This commit is contained in:
2020-10-08 13:04:24 +02:00
committed by GitHub

View File

@@ -35,5 +35,8 @@ done < /tmp/mattermost-paths.list
#cleanup after yourself #cleanup after yourself
rm /tmp/mattermost-paths.list rm /tmp/mattermost-paths.list
#cleanup empty data dirs
find $DATA_PATH -type d -empty -delete
exit 0 exit 0