Skip to content

Commit

Permalink
Merge pull request #223 from red-hat-storage/sync_ds--main
Browse files Browse the repository at this point in the history
Syncing latest changes from main for odf-must-gather
  • Loading branch information
openshift-merge-bot[bot] authored Feb 4, 2025
2 parents 81ed336 + 808df1b commit c39a0c3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions collection-scripts/gather
Original file line number Diff line number Diff line change
Expand Up @@ -243,8 +243,8 @@ totalTime=$((end - start))
{
printf "total time taken by collection was %s seconds \n" ${totalTime}
printf "collection ended at: %s \n" "${END_TIME}"
echo "deleting empty files"
echo "deleting empty files..."

} >>${BASE_COLLECTION_PATH}/gather-debug.log 2>&1
find "${BASE_COLLECTION_PATH}" -empty -delete >>${BASE_COLLECTION_PATH}/gather-debug.log 2>&1
find "${BASE_COLLECTION_PATH}" -type f \( -empty -o -size 1c \) -print -delete >>${BASE_COLLECTION_PATH}/gather-debug.log 2>&1
exit 0

0 comments on commit c39a0c3

Please sign in to comment.