-
Notifications
You must be signed in to change notification settings - Fork 25
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Syntax error on run_audit.sh #58
Comments
Signed-off-by: Christopher Peeters <cp@linux.com>
Thank you so much for the feedback and subsequent PR. This is indeed a great catch. I have feedback on the PR, very happy to take it but unfortunately it is not GPG signed. If you are able to get it signed will merge asap. Many thanks once again uk-bolly |
Signed-off-by: Mark Bolwell <mark.bollyuk@gmail.com>
* Added clause for issue #56 Signed-off-by: Mark Bolwell <mark.bollyuk@gmail.com> * updated after checks for #55 Signed-off-by: Mark Bolwell <mark.bollyuk@gmail.com> * Updated inline with #58 Signed-off-by: Mark Bolwell <mark.bollyuk@gmail.com> * updated Signed-off-by: Mark Bolwell <mark.bollyuk@gmail.com> --------- Signed-off-by: Mark Bolwell <mark.bollyuk@gmail.com>
Signed-off-by: Christopher Peeters <cp@linux.com>
Signed-off-by: Christopher Peeters <cp@linux.com>
Sorry for not signing. Should be okay now. |
Thank you again for raising this issue and PRs, I believe this is now all resolved and merged, i will therefore close this issue. Feel free to reopen if this is not the case. many thanks uk-bolly |
Describe the Issue
When running
run_audit.sh
, you get the following error:Expected Behavior
This error shouldn't be thrown. This is clearly a syntax error in the script.
Actual Behavior
You get a syntax error
Control(s) Affected
Environment (please complete the following information):
Additional Notes
Testing the code on my WSL sandbox before launching it in the actual environment
Possible Solution
On line 86 the following possible amendments can be made:
os_vendor="$(hostnamectl | grep Oper | cut -d: -f2 | awk '{print $1}' | tr '[:upper:]' '[:lower:]')"
os_vendor="$(hostnamectl | grep Oper | cut -d: -f2 | awk '{print tolower($1)}')"
The text was updated successfully, but these errors were encountered: