Skip to content

Commit 713a7b0

Browse files
Repair disk enumeration for image type MPA (all disks)
1 parent aa85a91 commit 713a7b0

File tree

1 file changed

+1
-1
lines changed
  • Buildroot/board/FOG/FOS/rootfs_overlay/usr/share/fog/lib

1 file changed

+1
-1
lines changed

Buildroot/board/FOG/FOS/rootfs_overlay/usr/share/fog/lib/funcs.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1383,7 +1383,7 @@ getHardDisk() {
13831383
fi
13841384
done
13851385
[[ -z $hd ]] && handleError "No disk found matching the sector count ${fdrive} (${FUNCNAME[0]})\n Args Passed: $*"
1386-
else
1386+
elif [[ -n $fdrive ]]; then
13871387
hd=$(echo $fdrive)
13881388
fi
13891389
[[ -n $hd ]] && return

0 commit comments

Comments
 (0)