We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1644dd2 commit 08ec6a1Copy full SHA for 08ec6a1
files/metrics_tidy
@@ -34,4 +34,4 @@ find "$metrics_directory" -type f -ctime +"$retention_days" -delete
34
35
# Compress the remaining files in a Puppet service metrics directory.
36
find "$metrics_directory" -type f -name "*json" | \
37
- tar --create --gzip --file "${metrics_directory}/${metrics_type}-$(date +%Y.%m.%d.%H.%M.%S).tar.gz" --files-from -
+ tar --create --gzip --file "${metrics_directory}/${metrics_type}-$(date +%Y.%m.%d.%H.%M.%S).tar.gz" --files-from - 2>/dev/null
0 commit comments