Expected behavior:
On error, exits with a nonzero error code.
Actual behavior:
Exits with zero regardless of success or failure.
Why this is a problem:
Causes issues with scripts which rely on the exit status of gput (e.g. as part of a pipeline), as they cannot easily determine whether it has failed without additional processing of the JSON output.