mirror of
https://github.com/drwetter/testssl.sh.git
synced 2025-01-10 10:40:57 +01:00
Better test that actually checks for mount
@drwetter can you test this? I don't have FreeBSD myself
This commit is contained in:
parent
b24fdc5e21
commit
223e410312
@ -6644,7 +6644,7 @@ openssl_age() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
bsd-bash() {
|
bsd-bash() {
|
||||||
if [[ $(uname) -eq "FreeBSD" ]] && [[ $(count_lines "$(ls /dev/fd)") -le 3 ]]; then
|
if [[ $(uname) -eq "FreeBSD" ]] && [[ $(count_lines "$(mount | grep '/dev/fd' | grep -q fdescfs)") -le 3 ]]; then
|
||||||
echo "You need to mount fdescfs on FreeBSD: mount -t fdescfs fdesc /dev/fd"
|
echo "You need to mount fdescfs on FreeBSD: mount -t fdescfs fdesc /dev/fd"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user