From 44d57dcb7f65a5d2549c35e2e095978023a19659 Mon Sep 17 00:00:00 2001 From: Pierre-Alain TORET Date: Wed, 28 Mar 2018 10:56:34 +0200 Subject: [PATCH] Fix 2 forgotten backslashes Signed-off-by: Pierre-Alain TORET --- plugins/syncthing/syncthing_ | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 }