From 5cd50d3b0df9ada9ce5515cac4dc5f247504bbb4 Mon Sep 17 00:00:00 2001 From: illiliti Date: Fri, 14 Feb 2020 02:10:25 +0300 Subject: [PATCH] update --- storage-device | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/storage-device b/storage-device index 6957fff..904060b 100755 --- a/storage-device +++ b/storage-device @@ -55,9 +55,9 @@ create_uuid_label_symlink() { add_symlinks() { # Skip temp cryptsetup nodes. case "$MDEV" in - "dm-"[0-9]*) - case "$(cat "/sys/block/${MDEV}/dm/name")" in - "temporary-cryptsetup-"[0-9]*) + dm-[0-9]*) + case $(cat "/sys/block/${MDEV}/dm/name") in + temporary-cryptsetup-[0-9]*) return 0 ;; esac