Fix option

Signed-off-by: mi2428 <mi2428782020@gmail.com>
This commit is contained in:
mi2428
2021-03-22 20:42:19 +09:00
parent fb2127deb4
commit 26e05a4c99

View File

@ -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