Skip to content

Commit 08ec6a1

Browse files
committed
(maint) restore throw away tar stderr
1 parent 1644dd2 commit 08ec6a1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

files/metrics_tidy

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,4 +34,4 @@ find "$metrics_directory" -type f -ctime +"$retention_days" -delete
3434

3535
# Compress the remaining files in a Puppet service metrics directory.
3636
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 -
37+
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

Comments
 (0)