Fixed wrong error messages

This commit is contained in:
oddlama 2020-04-21 23:45:55 +02:00
parent d203dfc6c3
commit 3f80df8695
No known key found for this signature in database
GPG Key ID: 88EA325D51D53908
1 changed files with 2 additions and 2 deletions

View File

@ -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() {