diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-02-21 17:13:39 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-02-21 17:13:47 +0000 |
commit | 84c33dd6d41c5b45288ca4059b781fe6fbd5bbad (patch) | |
tree | e6cedad652076622be8aade2f08416975c7d84a4 /tests/templates | |
parent | Releasing debian version 4.2+20240118-1. (diff) | |
download | mdadm-84c33dd6d41c5b45288ca4059b781fe6fbd5bbad.tar.xz mdadm-84c33dd6d41c5b45288ca4059b781fe6fbd5bbad.zip |
Merging upstream version 4.3.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-rw-r--r-- | tests/templates/names_template | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/tests/templates/names_template b/tests/templates/names_template index 6181bfa..1b6cd14 100644 --- a/tests/templates/names_template +++ b/tests/templates/names_template @@ -63,8 +63,7 @@ function names_verify() { names_make_conf() { local UUID="$1" local WANTED_DEVNAME="$2" - local WANTED_NAME="$3" - local CONF="$4" + local CONF="$3" local LINE="ARRAY metadata=1.2 UUID=$UUID" @@ -72,9 +71,5 @@ names_make_conf() { LINE="$LINE $WANTED_DEVNAME" fi - if [[ "$WANTED_NAME" != "empty" ]]; then - LINE="$LINE name=$WANTED_NAME" - fi - echo $LINE > $CONF } |