
org.sonar.l10n.shellcheck.rules.shellcheck.SC2173.html Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of sonar-shellcheck-plugin Show documentation
Show all versions of sonar-shellcheck-plugin Show documentation
ShellCheck plugin for SonarQube
The newest version!
SIGKILL/SIGSTOP can not be trapped.
Problematic code
trap 'echo "unkillable"' KILL
Correct code
Not applicable. This is not possible.
Rationale
SIGKILL and SIGSTOP can not be caught/ignored (according to POSIX and as implemented on platforms including Linux and FreeBSD). Trying to trap this signal has undefined results.
Exceptions
None. If you come across one, please file an issue about it.
© 2015 - 2025 Weber Informatics LLC | Privacy Policy