detect: Fixing indent to get all disk's information

The bad indent prevented from getting disk's information from all disks.
Only the last one was considered.