From 3f80df8695500536e88508b0cc7cfd7baadcc2da Mon Sep 17 00:00:00 2001 From: oddlama Date: Tue, 21 Apr 2020 23:45:55 +0200 Subject: [PATCH] Fixed wrong error messages --- scripts/functions.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/functions.sh b/scripts/functions.sh index 754180a..65ad50d 100644 --- a/scripts/functions.sh +++ b/scripts/functions.sh @@ -253,7 +253,7 @@ disk_create_raid() { --uuid="$uuid" \ --level="$level" \ "${devices[@]}" \ - || die "Could not format device '$device' ($id)" + || die "Could not create raid$level array '$mddevice' ($new_id) on $devices_desc" } disk_create_luks() { @@ -276,7 +276,7 @@ disk_create_luks() { --key-size 512 \ --pbkdf argon2id \ --iter-time=4000 "$device" \ - || die "Could not format device '$device' ($id)" + || die "Could not create luks on '$device' ($id)" } disk_format() {