nowsecure / fsmon

monitor filesystem on iOS / OS X / Android / FirefoxOS / Linux
https://www.nowsecure.com
MIT License
881 stars 151 forks source link

Fix JSON comma delimiters #49

Closed Oeldin closed 3 years ago

Oeldin commented 3 years ago

Currently, if there are no [p,u,g]id values set, there will be a comma missing from the JSON output. My fix will make sure that any added JSON attribute has a comma at the end, before the JSON object is completed by the type attribute.