1
0
mirror of https://github.com/chubin/cheat.sh.git synced 2026-06-20 13:16:44 +02:00

No need for OpenBSD ftp(1) to mimic cURL after a8348037ac .

This commit is contained in:
Vadim Zhukov
2018-08-16 14:43:30 +03:00
parent 4dcc3606a8
commit ff15f88334
+1 -1
View File
@@ -42,7 +42,7 @@ fi
# any better test not involving either OS matching or actual query?
if [ `uname -s` = OpenBSD ] && [ -x /usr/bin/ftp ]; then
curl() {
local opt args="-U curl/7.61.0 -o -"
local opt args="-o -"
while getopts "b:s" opt; do
case $opt in
b) args="$args -c $OPTARG";;