Skip to content
This repository was archived by the owner on May 3, 2024. It is now read-only.

Commit 824f795

Browse files
CORTX-34154: motr logs are not in compressed format
Modified the m0reportbug script to correctly print the size of disk usage of the specified directory
1 parent 58d1c88 commit 824f795

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

utils/m0reportbug

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ main() {
159159
# Helps in debugging, If m0reportbug fails due to huge size
160160
echo "du -sh $LIVE_CORE_DIR" >&2
161161
du_output=`du -sh "$LIVE_CORE_DIR" 2>&1`
162-
echo "$du_output" >&2
162+
du_size=`echo $du_output | awk '{print $1}'`
163163
echo "The size of $LIVE_CORE_DIR is : $du_size"
164164

165165
# Create directory and put only latest files created into it.

0 commit comments

Comments
 (0)