mirror of
https://github.com/aclist/dztui.git
synced 2025-04-05 12:03:00 +02:00
Print staging dir
This commit is contained in:
parent
f4bb28429b
commit
67cb8935c1
1 changed files with 1 additions and 0 deletions
|
@ -297,6 +297,7 @@ abort(){
|
||||||
exit
|
exit
|
||||||
}
|
}
|
||||||
check_disks(){
|
check_disks(){
|
||||||
|
log "Staging dir is $staging_dir"
|
||||||
disksize=$(df $staging_dir --output=avail | tail -n1)
|
disksize=$(df $staging_dir --output=avail | tail -n1)
|
||||||
disk_bytewise=$((disksize * 1024))
|
disk_bytewise=$((disksize * 1024))
|
||||||
hr=$(echo $(numfmt --to=iec --format "%.2f" $totalmodsize $disk_bytewise) | sed 's/ /\//')
|
hr=$(echo $(numfmt --to=iec --format "%.2f" $totalmodsize $disk_bytewise) | sed 's/ /\//')
|
||||||
|
|
Loading…
Reference in a new issue