mirror of https://github.com/CISOfy/lynis.git
Merge pull request #891 from bginsbach/fix-pkgs-7301
Fix PKGS-7301 message nit
This commit is contained in:
commit
6442dcc363
|
@ -38,7 +38,7 @@
|
||||||
# Test : PKGS-7301
|
# Test : PKGS-7301
|
||||||
# Description : Query FreeBSD pkg
|
# Description : Query FreeBSD pkg
|
||||||
if [ -x ${ROOTDIR}usr/sbin/pkg ]; then PREQS_MET="YES"; else PREQS_MET="NO"; fi
|
if [ -x ${ROOTDIR}usr/sbin/pkg ]; then PREQS_MET="YES"; else PREQS_MET="NO"; fi
|
||||||
Register --test-no PKGS-7301 --preqs-met ${PREQS_MET} --weight L --network NO --category security --description "Query NetBSD pkg"
|
Register --test-no PKGS-7301 --preqs-met ${PREQS_MET} --weight L --network NO --category security --description "Query FreeBSD pkg"
|
||||||
if [ ${SKIPTEST} -eq 0 ]; then
|
if [ ${SKIPTEST} -eq 0 ]; then
|
||||||
FIND=$(pkg -N 2>&1; echo $?)
|
FIND=$(pkg -N 2>&1; echo $?)
|
||||||
if [ "${FIND}" = "0" ]; then
|
if [ "${FIND}" = "0" ]; then
|
||||||
|
|
Loading…
Reference in New Issue