first commit

This commit is contained in:
Yavuz Aydın 2021-01-07 16:52:02 +01:00
parent 68d6992ae1
commit 97c0e053ee
1 changed files with 1 additions and 1 deletions

View File

@ -123,7 +123,7 @@ function check_redhat() {
fi
output_clean=$(needs-restarting -r | xargs)
output=$(needs-restarting -r | xargs)
output=$(needs-restarting -r)
if [ $? -eq 0 ]; then
echo "No reboot required: ${output_clean}"
exit ${OK_EXIT_CODE}