Change final backup check to use du again, not ls -l.
This commit is contained in:
@@ -841,7 +841,7 @@
|
||||
cd "$dir"
|
||||
pull_prod_backup "$DOCKER"
|
||||
pull_prod_backup "$SYSTEM"
|
||||
ls -lh *.zip
|
||||
du -h *.zip | sort -h
|
||||
status="$?"
|
||||
cd ..
|
||||
if [[ "$status" != 0 ]]; then
|
||||
|
||||
Reference in New Issue
Block a user