Closed MLBZ521 closed 1 year ago
The --output
parameter is already being added to the policy_icon
and icon
endpoints as there are two sets of if
conditionals that it's added in.
Specifically, it will added to all curl_cmd
s due to this conditional:
And then it's potentially added again in the condition that starts: https://github.com/grahampugh/jamf-upload/blob/59a351ca6ddc4a94f7027493d4040c466fcec147/JamfUploaderProcessors/JamfUploaderLib/JamfUploaderBase.py#L314-L358
The --output
parameter being in the policy_icon
and icon
endpoints hasn't had any adverse affects on me and I assume anyone as that is how it's currently written. I've reviewed others' verbose runs -vvv
+ in other issues posted and have seen the same multiple --output <path> --output <path>
parameters in their as well.
The
--output <output_file>
option was being added to thecurl
statement multiple times. This prevents that.Example: