fixed frompath
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2019-12-28 11:37:03 +01:00
parent 9b358ddee1
commit 48fbe9124b

View File

@@ -38,7 +38,7 @@ healthchck_ok(){
healthchck_start "Starting Backup" healthchck_start "Starting Backup"
cd /backup cd /backup
echo "make archive" echo "make archive"
FROMPATH='./*' FROMPATH='./'
FROMSIZE=`du -sk ${FROMPATH} | cut -f 1`; FROMSIZE=`du -sk ${FROMPATH} | cut -f 1`;
CHECKPOINT=`echo ${FROMSIZE}/50 | bc`; CHECKPOINT=`echo ${FROMSIZE}/50 | bc`;
echo "Estimated: [==================================================]"; echo "Estimated: [==================================================]";