1
0
Fork 0
mirror of https://github.com/notwa/rc synced 2024-11-05 07:19:02 -08:00

add more flags to curl in grab

This commit is contained in:
Connor Olding 2024-07-19 08:20:45 -07:00
parent d879e23dd1
commit 5ae0ca4302

View file

@ -22,7 +22,7 @@ exit ${x:-1}
}
get(){
if [ -f /usr/bin/curl ]
then curl -sfL -m5 -o "$@"
then curl -sSfLgm5 -o "$@"
else wget -qt1 -T5 -O "$@"
fi
}