From a63132f70da94ae83d4db47b6e4626dfeb97d4dc Mon Sep 17 00:00:00 2001 From: Jeremy Cunningham Date: Tue, 5 Mar 2019 07:59:24 -0600 Subject: [PATCH] fix syntax error in nightscout.sh --- bin/nightscout.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/nightscout.sh b/bin/nightscout.sh index acf52222c..df23487d9 100755 --- a/bin/nightscout.sh +++ b/bin/nightscout.sh @@ -338,7 +338,7 @@ autoconfigure-device-crud) openaps device add ns process --require "oper" nightscout ns "NIGHTSCOUT_HOST" "API_SECRET" openaps device show ns --json | \ jq '.extra.args |= sub(" NIGHTSCOUT_HOST " ; " '$NIGHTSCOUT_HOST' ")' \ - jq '.extra.args |= sub(" API_SECRET " ; " '$API_SECRET' ")' \ + | jq '.extra.args |= sub(" API_SECRET " ; " '$API_SECRET' ")' \ | openaps import ;; cull-latest-openaps-treatments)