Backup : Nix fix.
This commit is contained in:
parent
ed1ee4f9a1
commit
645cccf9da
|
@ -40,7 +40,7 @@ cd -
|
|||
|
||||
# Backup docker.
|
||||
docker=$(archive_fast docker/)
|
||||
bupsize=$(du -h ${docker} | awk '{print $1}')
|
||||
bupsize=$(/usr/bin/env du -h ${docker} | awk '{print $1}')
|
||||
mv ${docker} ${path_docker}/ || report "Backup : Failed to save docker!"
|
||||
|
||||
# Backup some media.
|
||||
|
|
Reference in a new issue