This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #! /bin/bash | |
| # Modified to run both (redudantly, yes, I know, I am paranoid, you should be too) checks | |
| # | |
| set -eu | |
| # find path to liblzma used by sshd | |
| path="$(ldd $(which sshd) | grep liblzma | grep -o '/[^ ]*')" | |
| echo 'Check one: does it even exist?' | |
| # does it even exist? | |
| if [ "$path" == "" ] |