use curl's -s flag only when -S is used
@@ -16,7 +16,7 @@ fi
fetch()
{
if which curl > /dev/null; then
- if [ "$#" -eq 2 ]; then curl -SL -o "$1" "$2"; else curl -sSL "$1"; fi
+ if [ "$#" -eq 2 ]; then curl -L -o "$1" "$2"; else curl -sSL "$1"; fi
elif which wget > /dev/null; then
if [ "$#" -eq 2 ]; then wget -O "$1" "$2"; else wget -nv -O - "$1"; fi
else
