Fixed wrong error messages
This commit is contained in:
parent
d203dfc6c3
commit
3f80df8695
|
@ -253,7 +253,7 @@ disk_create_raid() {
|
||||||
--uuid="$uuid" \
|
--uuid="$uuid" \
|
||||||
--level="$level" \
|
--level="$level" \
|
||||||
"${devices[@]}" \
|
"${devices[@]}" \
|
||||||
|| die "Could not format device '$device' ($id)"
|
|| die "Could not create raid$level array '$mddevice' ($new_id) on $devices_desc"
|
||||||
}
|
}
|
||||||
|
|
||||||
disk_create_luks() {
|
disk_create_luks() {
|
||||||
|
@ -276,7 +276,7 @@ disk_create_luks() {
|
||||||
--key-size 512 \
|
--key-size 512 \
|
||||||
--pbkdf argon2id \
|
--pbkdf argon2id \
|
||||||
--iter-time=4000 "$device" \
|
--iter-time=4000 "$device" \
|
||||||
|| die "Could not format device '$device' ($id)"
|
|| die "Could not create luks on '$device' ($id)"
|
||||||
}
|
}
|
||||||
|
|
||||||
disk_format() {
|
disk_format() {
|
||||||
|
|
Loading…
Reference in New Issue