mirror of
https://github.com/notwa/rc
synced 2024-11-05 05:29:02 -08:00
add more flags to curl
in grab
This commit is contained in:
parent
d879e23dd1
commit
5ae0ca4302
1 changed files with 1 additions and 1 deletions
2
sh/grab
2
sh/grab
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue