Skip to content

Commit

Permalink
Update 200_partition_layout.sh
Browse files Browse the repository at this point in the history
In layout/save/GNU/Linux/200_partition_layout.sh
also show the disk device in the
"Unsupported partition table" error message
to make it meaningful on systems with more than one disk.
  • Loading branch information
jsmeix committed May 26, 2023
1 parent 3cb64f1 commit 2aaa196
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -122,7 +122,7 @@ extract_partitions() {
# does not work with partition types that are not in the supported list
# cf. https://github.com/rear/rear/pull/2803#issuecomment-1124800884
if ! [[ "$disk_label" = "msdos" || "$disk_label" = "gpt" || "$disk_label" = "gpt_sync_mbr" || "$disk_label" = "dasd" ]] ; then
Error "Unsupported partition table '$disk_label' (must be one of 'msdos' 'gpt' 'gpt_sync_mbr' 'dasd')"
Error "Unsupported partition table '$disk_label' on $device (must be one of 'msdos' 'gpt' 'gpt_sync_mbr' 'dasd')"
fi


Expand Down

0 comments on commit 2aaa196

Please sign in to comment.