summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xlsinitcpio2
1 files changed, 1 insertions, 1 deletions
diff --git a/lsinitcpio b/lsinitcpio
index 36f4209..ca2b224 100755
--- a/lsinitcpio
+++ b/lsinitcpio
@@ -87,7 +87,7 @@ readonly NC BOLD BLUE GREEN RED YELLOW
# read compression type
case "$(file -b "$image")" in
- data|LZMA*) compress=lzma ;;
+ @(data|LZMA)*) compress=lzma ;;
gzip*) compress=gzip ;;
bzip2*) compress=bzip2 ;;
lzop*) compress=lzop ;;