I've mounted an ext4 partition to my repos directory. This contains the lost+found directory now causing issues when updating storage. As this is something to ignore anyway when getting the directory sizes it seems that placing
GLOBIGNORE="lost+found"
in the getStorageUsed.sh should be safe to do?
This way the directory is ignored preventing an error dumping to stderr causing the script call to think it failed and not process results.
I've mounted an ext4 partition to my repos directory. This contains the lost+found directory now causing issues when updating storage. As this is something to ignore anyway when getting the directory sizes it seems that placing
GLOBIGNORE="lost+found"
in the
getStorageUsed.sh
should be safe to do?This way the directory is ignored preventing an error dumping to stderr causing the script call to think it failed and not process results.