Tiny fix: make file follow symlinks
Signed-off-by: fbt <fbt@fleshless.org>
This commit is contained in:
		
							
								
								
									
										2
									
								
								sx-open
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								sx-open
									
									
									
									
									
								
							| @@ -116,7 +116,7 @@ handle_target() { | ||||
|  | ||||
| 		[[ "$target" =~ ^/.* ]] || { target="${PWD}/${target}"; } # Turn relative paths to absolute ones. | ||||
|  | ||||
| 		IFS=';' read target_mimetype charset <<< $( file -ib "$target" ) | ||||
| 		IFS=';' read target_mimetype charset <<< $( file -ibL "$target" ) | ||||
| 		target_left=$target_mimetype | ||||
|  | ||||
| 		set -- "${mime_handlers[@]}" | ||||
|   | ||||
		Reference in New Issue
	
	Block a user