curl options fix
This commit is contained in:
		
							
								
								
									
										2
									
								
								sup
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								sup
									
									
									
									
									
								
							| @@ -145,7 +145,7 @@ main() { | |||||||
| 		if sup.if_url "$target"; then | 		if sup.if_url "$target"; then | ||||||
| 			file=`sup.mktemp "$cfg_tmp_dir"` | 			file=`sup.mktemp "$cfg_tmp_dir"` | ||||||
|  |  | ||||||
| 			curl -s "$target" > "$file" || { | 			curl -skL "$target" > "$file" || { | ||||||
| 				sup.err "Could not download file." | 				sup.err "Could not download file." | ||||||
| 				return 1 | 				return 1 | ||||||
| 			} | 			} | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user