From 26e05a4c99df1f19d8d3e325c8f2bc8e097b86f9 Mon Sep 17 00:00:00 2001 From: mi2428 Date: Mon, 22 Mar 2021 20:42:19 +0900 Subject: [PATCH] Fix option Signed-off-by: mi2428 --- linux/sendlog.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/linux/sendlog.sh b/linux/sendlog.sh index b7a163b..217f4eb 100755 --- a/linux/sendlog.sh +++ b/linux/sendlog.sh @@ -55,7 +55,7 @@ for file in `find log/ -name "sindan_*.json"`; do if [ "$VERBOSE" = "yes" ]; then echo " send $file to $URL_SINDAN" fi - status=`curl --max-time 15 -s -w %{http_code} $curl_proxy json=@$file $URL_SINDAN` + status=`curl --max-time 15 -s -w %{http_code} $curl_proxy -F json=@$file $URL_SINDAN` if [ "$VERBOSE" = "yes" ]; then echo " status:$status" fi