Files
cis/script/check/host/all/system_is_up_to_date.check.sh
2026-04-01 07:40:10 +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