mirror of
https://github.com/usnistgov/macos_security.git
synced 2026-02-03 05:53:24 +00:00
build/cis_lvl1/cis_lvl1_compliance.sh: line 6359: syntax error near unexpected token `fi' #138
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @Frissi0n on GitHub.
Summary
Cannot run compliance scripts on Sonoma.
Steps to reproduce
Operating System version
14.1.1
Intel or Apple Silicon
Intel
What is the current bug behavior?
Compliance scripts fail, not just the CIS one.
What is the expected correct behavior?
Compliance script should work and print help menu
Relevant logs and/or screenshots
Output of checks
@brodjieski commented on GitHub:
The compliance script is a zsh script. Calling it with bash will cause issues and not run correctly.
Try calling the script directly as the generate guidance script should set it to executable.