diff --git a/plugins/syncthing/syncthing_ b/plugins/syncthing/syncthing_ index 25ac50c0..d0a94de2 100755 --- a/plugins/syncthing/syncthing_ +++ b/plugins/syncthing/syncthing_ @@ -137,8 +137,8 @@ EOM CONNECTIONS=$("$CURL" -s -X GET -H "X-API-Key: $syncthing_apikey" "$syncthing_proto://$syncthing_host:$syncthing_port/rest/system/connections") IBT=$(echo "$CONNECTIONS" | "$JQ" '.total | .inBytesTotal') OBT=$(echo "$CONNECTIONS" | "$JQ" '.total | .outBytesTotal') - printf "syncthing_transfer_up.value %s\\n" "$IBT" - printf "syncthing_transfer_down.value %s\\n" "$OBT" + printf "syncthing_transfer_up.value %s\n" "$IBT" + printf "syncthing_transfer_down.value %s\n" "$OBT" esac }