first commit
This commit is contained in:
parent
68d6992ae1
commit
97c0e053ee
|
@ -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}
|
||||
|
|
Loading…
Reference in New Issue