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

./resttool: line 47: [: -eq: unary operator expected #1

Open
dataprolet opened this issue Jul 31, 2023 · 0 comments
Open

./resttool: line 47: [: -eq: unary operator expected #1

dataprolet opened this issue Jul 31, 2023 · 0 comments

Comments

@dataprolet
Copy link

dataprolet commented Jul 31, 2023

I'm using the tool on MacOS 13.4.1 an simply calling restgetprofile returns the following:

2023-07-31 11:48:02 -- retrieving IrmcConfig/BootConfig from 1.2.3.4
expr: syntax error
./resttool: line 47: [: -eq: unary operator expected
2023-07-31 11:48:02 -- Reading profile - be patient ...
expr: syntax error
./resttool: line 47: [: -eq: unary operator expected
2023-07-31 11:48:02 -- ProfileStoreAdd failed

What is causing this? I assume it's MacOS specific?

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

1 participant