fix LOG in filter.sh

This commit is contained in:
François 2023-01-21 19:35:25 +01:00
parent 29ba4fd0d6
commit cf7c4102af
2 changed files with 1 additions and 2 deletions

3
src/bash/filter.sh Normal file → Executable file
View File

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

0
src/bash/filterTest.sh Normal file → Executable file
View File