Forgot to break;

This commit is contained in:
Jack L. Frost 2014-09-25 17:58:11 +04:00
parent 6b373d2aeb
commit 8ff05450d2
1 changed files with 1 additions and 0 deletions

View File

@ -22,6 +22,7 @@ handle_file() {
for m in "${!mime_handlers[@]}"; do
grep -oE "${mime_handlers[${m}]}" <<< "$target_mimetype" && {
"$m" "$target"
break
}
done
}