We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8a3f859 commit dfbcc06Copy full SHA for dfbcc06
1 file changed
func/main.sh
@@ -466,7 +466,7 @@ recalc_user_disk_usage() {
466
sed -i "s/U_DISK_DB='$d'/U_DISK_DB='$usage'/g" $USER_DATA/user.conf
467
u_usage=$((u_usage + usage))
468
fi
469
- usage=$(grep 'U_DIR_DISK=' $USER_DATA/user.conf | cut -f 2 -d "'")
+ usage=$(grep 'U_DISK_DIRS=' $USER_DATA/user.conf | cut -f 2 -d "'")
470
471
old=$(grep "U_DISK='" $USER_DATA/user.conf | cut -f 2 -d \')
472
sed -i "s/U_DISK='$old'/U_DISK='$u_usage'/g" $USER_DATA/user.conf
0 commit comments