we have to change it to this to receive a correct report:
FDISK=$(sudo fdisk -l 2>err.log | grep "[${DISK_NAME}] ${MMC}" | awk
'{print $2}')
The reason is obvious. grep is processing only standard output, but
error output also are being collected in the FDISK variable.
When I use your version the value of FDISK is:
Disk /dev/dm-0 doesn't contain a valid partition table
Disk /dev/dm-1 doesn't contain a valid partition table
/dev/sdb:
which it should be only:
/dev/sdb:
The first two lines are because non-related errors on machine's
partitions.
we have to change it to this to receive a correct report:
FDISK=$(sudo fdisk -l 2>err.log | grep "[${DISK_NAME}] ${MMC}" | awk
'{print $2}')
The reason is obvious. grep is processing only standard output, but
error output also are being collected in the FDISK variable.
When I use your version the value of FDISK is:
Disk /dev/dm-0 doesn't contain a valid partition table
Disk /dev/dm-1 doesn't contain a valid partition table
/dev/sdb:
which it should be only:
/dev/sdb:
The first two lines are because non-related errors on machine's
partitions.
Sure I'll add the tweaks when i return home this weekend... Anything
currently released is too late of course, but the next release's will
of course have it..
I did not know where should I report these bugs.
Yeah, there's no specific place, this list is fine...
Head revision when generating the demo images is here: