From d6eb067ee38a622698584641ad94e61261db3260 Mon Sep 17 00:00:00 2001 From: Dylan Araps Date: Wed, 23 Sep 2020 14:21:06 +0300 Subject: [PATCH] kiss-outdated: show curl error output --- contrib/kiss-outdated | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/contrib/kiss-outdated b/contrib/kiss-outdated index fa88ebf..edc2abd 100755 --- a/contrib/kiss-outdated +++ b/contrib/kiss-outdated @@ -6,8 +6,8 @@ repology_version() { # svg latest-version badge and extracting the version from the xml. repology_name "$1" - rep=$(curl -s "https://repology.org/badge/latest-versions/$remote.svg") && { - remote_ver=${rep%*} + r=$(curl -Ss "https://repology.org/badge/latest-versions/$remote.svg") && { + remote_ver=${r%*} remote_ver=${remote_ver##*>} } }