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

dinitcheck: libc++abi: terminating due to uncaught exception of type dinit_load::setting_exception #136

Closed
davmac314 opened this issue Dec 22, 2022 Discussed in #135 · 0 comments

Comments

@davmac314
Copy link
Owner

Discussed in #135

Originally posted by mobin-2008 December 21, 2022
Hi! I writed this service for runs by turnstile on every login/logout.

type = scripted
command = /bin/bash -c "echo Mobin has logged in at $(date)"
stop-command = /bin/bash -c "echo "Mobin has logged out at $(date)"
logfile = /home/mobin/.login_history

as you see, stop-command string is broken. It's contain a unclosed " in echo command. I expect dinitcheck show me a error about this but it's terminates by system via SIGABRT:

➜ dinitcheck login_history
Checking service: login_history...
libc++abi: terminating due to uncaught exception of type dinit_load::setting_exception
[1]    7458 abort      dinitcheck login_history

I posted it in here because I'm not sure it's a "bug".

Regards

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

No branches or pull requests

2 participants