Skip to content

Commit

Permalink
make sure kernal updates trigger an event
Browse files Browse the repository at this point in the history
  • Loading branch information
keirbadger committed May 7, 2024
1 parent 65b49ed commit 5042ab4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion files/notify_updates
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ if [ -z "${STATELESS_INSTANCE}" ]; then
echo 'STATELESS_INSTANCE should be set to 0 or 1' >&1
fi

updates="$(/usr/bin/dnf check-update | tail -n +2 )"
updates="$(/usr/bin/dnf check-update 2>&1 | tail -n +2 )"
if [[ -n "${updates}" ]]; then
/usr/local/bin/send_datadog_event.py "${updates}"
fi

0 comments on commit 5042ab4

Please sign in to comment.