first commit
This commit is contained in:
parent
68d6992ae1
commit
97c0e053ee
|
@ -123,7 +123,7 @@ function check_redhat() {
|
||||||
fi
|
fi
|
||||||
|
|
||||||
output_clean=$(needs-restarting -r | xargs)
|
output_clean=$(needs-restarting -r | xargs)
|
||||||
output=$(needs-restarting -r | xargs)
|
output=$(needs-restarting -r)
|
||||||
if [ $? -eq 0 ]; then
|
if [ $? -eq 0 ]; then
|
||||||
echo "No reboot required: ${output_clean}"
|
echo "No reboot required: ${output_clean}"
|
||||||
exit ${OK_EXIT_CODE}
|
exit ${OK_EXIT_CODE}
|
||||||
|
|
Loading…
Reference in New Issue