diff --git a/openbsd/CHANGELOG b/openbsd/CHANGELOG index 3656328..ebccbe0 100644 --- a/openbsd/CHANGELOG +++ b/openbsd/CHANGELOG @@ -15,6 +15,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Fixed * check_carpadvbase and check_carppreempt: fixed indentation +* check_mount: removed useless echo ### Changed diff --git a/openbsd/evocheck.sh b/openbsd/evocheck.sh index af7281b..5b7da52 100755 --- a/openbsd/evocheck.sh +++ b/openbsd/evocheck.sh @@ -528,7 +528,7 @@ check_root_user() { } check_mount(){ for fstab_entry in $(grep ffs /etc/fstab | grep -v "^#" | awk '{print $2}'); do - echo "$(mount | awk '{print $3}')" | grep -q "^$fstab_entry$" || failed "IS_MOUNT" "Local OpenBSD partition(s) detected in /etc/fstab but not mounted" + mount | awk '{print $3}' | grep -q "^$fstab_entry$" || failed "IS_MOUNT" "Local OpenBSD partition(s) detected in /etc/fstab but not mounted" done } check_mountfstab() {