update 1.2.4.1

This commit is contained in:
MacRimi
2026-07-28 22:03:01 +02:00
parent 3d3b1fc902
commit 42ca256bac
3 changed files with 57 additions and 10 deletions
+7
View File
@@ -169,6 +169,13 @@ FAIL_COUNT=0
log "Found $TOTAL_DISKS disk(s) to test"
for disk in $DISK_LIST; do
# Accept both full paths and basenames. Older cron entries written
# before the Monitor prepended /dev/ passed disk names as bare
# basenames (sdb, nvme0n1), which then failed the block-device
# check below. Normalising here keeps those legacy entries working
# after the update without forcing the operator to recreate them.
[[ "$disk" != /* ]] && disk="/dev/$disk"
# Skip if disk doesn't exist
if [[ ! -b "$disk" ]]; then
log "WARNING: Disk $disk not found, skipping"