From d1165492a4bd18afb9940f1ec13f30990fcc219a Mon Sep 17 00:00:00 2001 From: Bob Mader Date: Tue, 5 Dec 2023 09:08:07 -0600 Subject: [PATCH] fix "Failed to list block device properties" error (#31) --- changelogs/fragments/fix_entries.yml | 2 ++ roles/shrink_lv/files/shrink.sh | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) create mode 100644 changelogs/fragments/fix_entries.yml diff --git a/changelogs/fragments/fix_entries.yml b/changelogs/fragments/fix_entries.yml new file mode 100644 index 0000000..ff01b5e --- /dev/null +++ b/changelogs/fragments/fix_entries.yml @@ -0,0 +1,2 @@ +bugfixes: + - Fix "Failed to list block device properties" error diff --git a/roles/shrink_lv/files/shrink.sh b/roles/shrink_lv/files/shrink.sh index 11ed0b1..89de615 100755 --- a/roles/shrink_lv/files/shrink.sh +++ b/roles/shrink_lv/files/shrink.sh @@ -164,7 +164,7 @@ function parse_flags() { do case $i in -d=*|--device=*) - entries+="(${i#*=})" + entries+=("${i#*=}") ;; -h) display_help