mirror of https://github.com/CISOfy/lynis.git
[PKGS-7328] Set non-interactive as first option like other calls to Zypper
This commit is contained in:
parent
751c9734c5
commit
02fdaf4c1e
|
@ -285,7 +285,7 @@
|
|||
N=0
|
||||
PACKAGE_AUDIT_TOOL_FOUND=1
|
||||
PACKAGE_AUDIT_TOOL="zypper"
|
||||
FIND=`${ZYPPERBINARY} se -n -t package -i | awk '{ if ($1=="i") { print $3 } }'`
|
||||
FIND=`${ZYPPERBINARY} -n se -t package -i | awk '{ if ($1=="i") { print $3 } }'`
|
||||
if [ ! "${FIND}" = "" ]; then
|
||||
for I in ${FIND}; do
|
||||
N=$((N + 1))
|
||||
|
|
Loading…
Reference in New Issue