Skip to content

Commit

Permalink
show removed configbackups
Browse files Browse the repository at this point in the history
mail output was quiet on removing configBackups.
  • Loading branch information
sund committed Feb 2, 2016
1 parent fb98418 commit f374b8e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion auto-gitlab-backup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ archiveConfig() {
tar -czf "$localConfDir/gitlabConf-$dateStamp.tgz" $localConfig $localsshkeys

# remove files not within 3 days
find $localConfDir -type f -mtime +3 -exec rm {} \;
find $localConfDir -type f -mtime +3 -exec rm -v {} \;

else
echo "Local config backup aren't enabled or $localConfDir is not writable."
Expand Down

0 comments on commit f374b8e

Please sign in to comment.