tools: partition: generalize content size error message
This commit is contained in:
@@ -55,7 +55,7 @@ get_partition_content_size_from_file() {
|
||||
part_content="${2}"
|
||||
|
||||
if [ -z "${part_content}" ] || [ ! -e "${part_content}" ]; then
|
||||
loge "Content for flex-size partition ${part_idx} not found: ${part_content}"
|
||||
loge "Content for partition ${part_idx} not found: ${part_content}"
|
||||
exit 1
|
||||
fi
|
||||
du --apparent-size -b -s "${part_content}" | cut -f 1
|
||||
|
||||
Reference in New Issue
Block a user