This commit is contained in:
terem42
2023-04-21 15:19:30 +02:00
parent aab174fdcf
commit e3e3dd574e

View File

@@ -148,12 +148,12 @@ function initial_load_debian_zed_cache {
SECONDS=0 SECONDS=0
while (( SECONDS++ <= 300 )); do while (( SECONDS++ <= 120 )); do
if [[ -e /mnt/etc/zfs/zfs-list.cache/rpool ]] && (( $(find /mnt/etc/zfs/zfs-list.cache/rpool -type f -printf '%s' 2> /dev/null) > 0 )); then if [[ -e /mnt/etc/zfs/zfs-list.cache/rpool ]] && (( $(find /mnt/etc/zfs/zfs-list.cache/rpool -type f -printf '%s' 2> /dev/null) > 0 )); then
success=1 success=1
break break
else else
sleep sleep 1
fi fi
done done
else else