mirror of
https://github.com/CISOfy/lynis.git
synced 2025-07-23 13:54:35 +02:00
Corrected if-statement
This commit is contained in:
parent
e0ca517aaa
commit
247eb7d9a6
@ -1717,7 +1717,7 @@
|
||||
if [ ! -z "${RPMBINARY}" ]; then
|
||||
output=$(${RPMBINARY} --quiet -q ${package} 2> /dev/null)
|
||||
exit_code=$?
|
||||
elif ! -z "${DPKGBINARY}" ]; then
|
||||
elif [ ! -z "${DPKGBINARY}" ]; then
|
||||
output=$(${DPKGBINARY} -l ${package} 2> /dev/null)
|
||||
exit_code=$?
|
||||
elif [ ! -z "${ZYPPERBINARY}" ]; then
|
||||
|
Loading…
x
Reference in New Issue
Block a user