Commit 412997bc authored by root's avatar root

Sends an enpty string if there are no security updates (instead of sending null)

parent bfbea3f9
......@@ -244,7 +244,7 @@ if [ -n "$SecurityPatches" ]; then
# Assemble the complete string (minus the final comma)
SecurityPatchStr=", \"security-patches\": [ ${OUTPUT%%,} ]"
else
SecurityPatchStr=""
SecurityPatchStr=", \"security-patches\": [ ]"
fi
# Ex:
......
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