From 645cccf9da01bf140bfc110c8fae9b490f9ba6fe Mon Sep 17 00:00:00 2001 From: Dmitry Voronin Date: Sun, 28 Jan 2024 12:19:02 +0300 Subject: [PATCH] Backup : Nix fix. --- app/bin/home/Backup | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/bin/home/Backup b/app/bin/home/Backup index 31e3ece..31ad952 100755 --- a/app/bin/home/Backup +++ b/app/bin/home/Backup @@ -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.