Skip to content
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

Fail to run in AIX 7.1 #1

Open
laji1110 opened this issue Jul 7, 2018 · 1 comment
Open

Fail to run in AIX 7.1 #1

laji1110 opened this issue Jul 7, 2018 · 1 comment

Comments

@laji1110
Copy link

laji1110 commented Jul 7, 2018

I got this error

sh main_healthcheck.sh

main_healthcheck.sh[120]: typeset: 0403-010 A specified flag is not valid for this command.

Something wrong in this line?

. ./${GENERAL_CONFIG}

@gpoppino
Copy link
Owner

gpoppino commented Jul 7, 2018

Hi,

Try running it with a different shell, like bash or ksh93. For example bash main_healthcheck.sh.

The error shown says there is a problem in the declaration of the associative array in line 65 of config.general (flag -A).

I don't have access to an AIX machine to test it myself anymore, and I have been considering removing support for AIX from the script and leave it just for Linux.

Let me know how it goes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants