Closed neilrooney closed 4 years ago
can you add additional context here? I am unable to duplicate the error.
@taboc741 there is not much more to add. I setup the script as you described. It works great but in the output I get this unary operator expected error.
I was able to solve this problem with the help of some of the admins on macadmins Slack.
I changed the shebang to #!/bin/bash
and made a change to line 83. if [ -z "$remainDeferrals" ]; then
Getting the above "unary operator expected" when running the script from Jamf Pro and visible in a "jamf policy" command.