Skip to content

Commit

Permalink
init: fix codestyle
Browse files Browse the repository at this point in the history
Signed-off-by: AuxXxilium <[email protected]>
  • Loading branch information
AuxXxilium committed Oct 30, 2023
1 parent 9838321 commit 8018e4f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion files/board/arc/overlayfs/opt/arc/init.sh
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ BUS=$(getBus "${LOADER_DISK}")
if [ "${BUS}" = "usb" ]; then
VID="0x$(udevadm info --query property --name "${LOADER_DISK}" | grep ID_VENDOR_ID | cut -d= -f2)"
PID="0x$(udevadm info --query property --name "${LOADER_DISK}" | grep ID_MODEL_ID | cut -d= -f2)"
elif [ "${BUS}" != "sata" -a "${BUS}" != "scsi" -a "${BUS}" != "nvme" ]; then
elif [ "${BUS}" != "sata" ] && [ "${BUS}" != "scsi" ] && [ "${BUS}" != "nvme" ]; then
die "Loader disk is not USB or SATA/SCSI/NVME DoM"
fi

Expand Down

0 comments on commit 8018e4f

Please sign in to comment.