Commit aa602d3b authored by Peter Möller's avatar Peter Möller

Fix for security updates not sent ok

parent 1e106baf
......@@ -205,7 +205,7 @@ if [ -n "$SecurityPatches" ]; then
done <<< "$SecurityPatches"
SecurityPatchStr=", \"security-patches\": [ "${OUTPUT%%,}" ]"
else
SecurityPatchStr=""
SecurityPatchStr=", \"security-patches\": [ ]"
fi
# Ex:
# SecurityPatchStr=', "security-patches": [ { "installed-version": "", "new-version": "", "package": "macOS Catalina Security Update 2021-003-10.15.7", "sources": [ "Apple","Apple" ] } ]'
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment