Skip to content

Commit

Permalink
bug fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
gdbtek committed Jul 21, 2016
1 parent af0f287 commit b081342
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libraries/util.bash
Original file line number Diff line number Diff line change
Expand Up @@ -1405,7 +1405,7 @@ function resetLogs()
{
header 'RESETTING LOGS'

find '/var/log' -type f \( -regex '.*\.[0-9]+' -o -regex '.*\.[0-9]+\.gz' -o -regex '.*\.gz' \) -delete -print
find '/var/log' -type f \( -regex '.*\.[0-9]+' -o -regex '.*\.[0-9]+\.gz' -o -regex '.*\.old' \) -delete -print
find '/var/log' -type f -exec cp -f '/dev/null' '{}' \; -print
}

Expand Down

0 comments on commit b081342

Please sign in to comment.