Files
cis/definitions/default/check/all/system_is_up_to_date.check.sh
T
Martin Berghaus 00b920763e Checks improved
2026-05-09 21:59:40 +02:00

7 lines
116 B
Bash
Executable File

#/bin/bash
[ "$(apt-get -s -o Debug::NoLocking=true upgrade | grep -c -E '^Inst')" = "0" ] \
&& exit 0
exit 1