Let %post scriptlet always exit successfully

Resolves: RHEL-71253
Upstream: kdump-utils
Conflict: None

Signed-off-by: Lichen Liu <lichliu@redhat.com>
This commit is contained in:
Lichen Liu 2025-02-11 08:45:22 +08:00
parent e9d22f4e59
commit 092e2fa936
No known key found for this signature in database
GPG Key ID: 2ED8215EF57B3D6C

View File

@ -59,6 +59,9 @@ servicelog_notify --remove --command=/usr/lib/kdump/kdump-migrate-action.sh 2>/d
servicelog_notify --add --command=/usr/lib/kdump/kdump-migrate-action.sh --match='refcode="#MIGRATE" and serviceable=0' --type=EVENT --method=pairs_stdin >/dev/null
%endif
# RPM scriptlet should always return 0. Otherwise it can break
# installs/upgrades/erases.
:
%postun
%systemd_postun_with_restart kdump.service