This commit is contained in:
terem42
2023-04-21 14:39:29 +02:00
parent 9e2fcc5149
commit aab174fdcf

View File

@@ -148,12 +148,12 @@ function initial_load_debian_zed_cache {
SECONDS=0 SECONDS=0
while (( SECONDS++ <= 120 )); do while (( SECONDS++ <= 300 )); 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 1 sleep
fi fi
done done
else else