Forgot to break;
This commit is contained in:
parent
6b373d2aeb
commit
8ff05450d2
1
sx-open
1
sx-open
|
@ -22,6 +22,7 @@ handle_file() {
|
||||||
for m in "${!mime_handlers[@]}"; do
|
for m in "${!mime_handlers[@]}"; do
|
||||||
grep -oE "${mime_handlers[${m}]}" <<< "$target_mimetype" && {
|
grep -oE "${mime_handlers[${m}]}" <<< "$target_mimetype" && {
|
||||||
"$m" "$target"
|
"$m" "$target"
|
||||||
|
break
|
||||||
}
|
}
|
||||||
done
|
done
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user