silence auto-partition

merge-requests/260/head
carlduff 8 years ago
parent ec35c04484
commit aae1eb6be2

2
aif

@ -710,7 +710,7 @@ auto_partition(){
done
# Identify the partition table
part_table=$(parted -s ${DEVICE} print | grep -i 'partition table' | awk '{print $3}')
part_table=$(parted -s ${DEVICE} print | grep -i 'partition table' | awk '{print $3}') >/dev/null 2>&1
# Create partition table if one does not already exist
([[ $SYSTEM == "BIOS" ]] && [[ $part_table != "msdos" ]]) && parted -s ${DEVICE} mklabel msdos 2>/tmp/.errlog

Loading…
Cancel
Save