I have no ide how that piece of code got mangled

Signed-off-by: fbt <fbt@fleshless.org>
This commit is contained in:
Jack L. Frost 2018-08-02 12:52:56 +03:00
parent d706122511
commit 27801d670f
1 changed files with 2 additions and 1 deletions

View File

@ -120,7 +120,8 @@ handle_target() {
IFS=';' read target_mimetype _ <<< $( file -ib "$target" )
target_left=$target_mimetype
IFS=';' read target_mimetype_true _ <<< $( file -ib "$target" )
[[ $target_mimetype == 'inode/symlink' ]] && \
IFS=';' read target_mimetype_true _ <<< $( file -ibL "$target" )
set -- "${mime_handlers[@]}"
elif is_uri "$target"; then