Expected behavior
It should exit with 1.
Actual behavior
It exits with 0.
Steps to reproduce the behavior
$ hadolint --failure-threshold error --verbose ./Dockerfile
echo $? # prints 0
No configuration was specified. Using default configuration
./Dockerfile:8 DL3020 error: Use COPY instead of ADD for files and folders
./Dockerfile:10 DL3000 error: Use absolute WORKDIR
./Dockerfile:19 DL3008 warning: Pin versions in apt get install. Instead of `apt-get install <package>` use `apt-get install <package>=<version>`
...
Output of hadolint --version:
Haskell Dockerfile Linter 2.4.1-no-git