Skip to content

Commit

Permalink
Pick up different fs types in data_retention
Browse files Browse the repository at this point in the history
  • Loading branch information
cbaxley committed Feb 16, 2024
1 parent a61215d commit 53d9d1a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Chapter 3 Files/deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -538,7 +538,7 @@ function pipelineupdate() {

function data_retention() {
# Show ext4 disk
DF_OUTPUT="$(df -BG -l -t ext4 --output=source,size /var/lib/docker)"
DF_OUTPUT="$(df -BG -l --output=source,size /var/lib/docker)"

# Pull device name
DISK_DEV="$(echo "$DF_OUTPUT" | awk 'NR==2 {print $1}')"
Expand Down

0 comments on commit 53d9d1a

Please sign in to comment.