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

router/relay --create-config returns 0 on error #287

Open
egorpugin opened this issue May 3, 2024 · 0 comments
Open

router/relay --create-config returns 0 on error #287

egorpugin opened this issue May 3, 2024 · 0 comments

Comments

@egorpugin
Copy link
Contributor

It would be nice to return 1 to indicate an error when router or relay cannot --create-config to integrate this step into scripts.
So script will stop on error instead of continuing.

Settings file path: "/etc/aspia/router.json"
Settings file already exists. Continuation is impossible.

echo $?
0
@egorpugin egorpugin changed the title router/relay returns 0 on error router/relay --create-config returns 0 on error May 3, 2024
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