diff options
-rwxr-xr-x | tools/ds-identify | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/ds-identify b/tools/ds-identify index e454ed6d..3ba36f8f 100755 --- a/tools/ds-identify +++ b/tools/ds-identify @@ -386,8 +386,8 @@ dmi_sys_vendor_is() { } has_fs_with_label() { - local label=",$1," - case "${DI_FS_LABELS}" in + local label="$1" + case ",${DI_FS_LABELS}," in *,$label,*) return 0;; esac return 1 |