From cf7c4102afcb690fab033f0f2bfc52023f740b16 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois?= Date: Sat, 21 Jan 2023 19:35:25 +0100 Subject: [PATCH] fix LOG in filter.sh --- src/bash/filter.sh | 3 +-- src/bash/filterTest.sh | 0 2 files changed, 1 insertion(+), 2 deletions(-) mode change 100644 => 100755 src/bash/filter.sh mode change 100644 => 100755 src/bash/filterTest.sh diff --git a/src/bash/filter.sh b/src/bash/filter.sh old mode 100644 new mode 100755 index fac965d..ec7452b --- a/src/bash/filter.sh +++ b/src/bash/filter.sh @@ -122,8 +122,7 @@ curlJirafeauSend () { type=$3 [ -z "${type}" ] && type="text/plain" - LOG_FIC " - curl -X POST -F \"time=$1\" -F \"key=$5\" -F \"file=@$2;type=${type};filename=$4\" \"${JIRAFEAU_LOCAL}/a.php\"" - LOG "curl -X POST -F \"time=$1\" -F \"key=$5\" -F \"file=@$2;type=${type};filename=\\\"$4\\\"\" \"${JIRAFEAU_LOCAL}/a.php\"" + LOG_FIC " - curl -X POST -F \"time=$1\" -F \"key=$5\" -F \"file=@$2;type=${type};filename=\\\"$4\\\" \"${JIRAFEAU_LOCAL}/a.php\"" curl -X POST -F "time=$1" -F "key=$5" -F "file=@$2;type=${type};filename=\"$4\"" "${JIRAFEAU_LOCAL}/a.php" } diff --git a/src/bash/filterTest.sh b/src/bash/filterTest.sh old mode 100644 new mode 100755