diff --git a/redhat/rdma-core.spec b/redhat/rdma-core.spec index ec0c63d1e..5eafc1d71 100644 --- a/redhat/rdma-core.spec +++ b/redhat/rdma-core.spec @@ -344,7 +344,7 @@ install -D -m0644 ibacm_opts.cfg %{buildroot}%{_sysconfdir}/rdma/ # Delete the package's init.d scripts rm -rf %{buildroot}/%{_initrddir}/ -rm -rf %{buildroot}/%{_sbindir}/srp_daemon.sh +rm -f %{buildroot}/%{_sbindir}/srp_daemon.sh %post -n rdma-core # we ship udev rules, so trigger an update.