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:
+1
-1
@@ -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";;
|
||||
|
||||
Reference in New Issue
Block a user