Skip to content

Commit

Permalink
fix dnf-automatic execution
Browse files Browse the repository at this point in the history
  • Loading branch information
marciogoda committed Sep 4, 2023
1 parent e4eff2e commit c6b72ac
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/sbin/yum-cron /etc/yum/yum-cron-notify.conf)"
updates="$(/usr/sbin/dnf-automatic /etc/dnf/automatic.conf)"
if [[ -n "${updates}" ]]; then
/usr/local/bin/send_datadog_event.py "${updates}"
fi

0 comments on commit c6b72ac

Please sign in to comment.