Fix incorrect pgrep path. Fixes bug #875844

This commit is contained in:
Kevin Fenzi 2012-11-15 13:59:51 -07:00
parent 5fe3149294
commit 0f9b5eff5b
2 changed files with 5 additions and 2 deletions

View File

@ -10,7 +10,7 @@ unset SAUPDATE OPTIONS DEBUG NOTIFY_UPD
[ -f /etc/sysconfig/sa-update ] && . /etc/sysconfig/sa-update
[ "$SAUPDATE" = "no" ] && exit 0
for daemon in spamd amavisd; do
/sbin/pgrep $daemon >& /dev/null
/usr/bin/pgrep $daemon >& /dev/null
[ $? -eq 0 ] && SAUPDATE=yes
done
[ -f /var/run/mimedefang.pid ] && SAUPDATE=yes

View File

@ -69,7 +69,7 @@ Summary: Spam filter for email which can be invoked from mail delivery agents
Name: spamassassin
Version: 3.3.2
#Release: 0.8.%{prerev}%{?dist}
Release: 13%{?dist}
Release: 14%{?dist}
License: ASL 2.0
Group: Applications/Internet
URL: http://spamassassin.apache.org/
@ -364,6 +364,9 @@ fi
%endif
%changelog
* Thu Nov 15 2012 Kevin Fenzi <kevin@scrye.com> 3.3.2-14
- Fix incorrect pgrep path. Fixes bug #875844
* Sat Aug 25 2012 Kevin Fenzi <kevin@scrye.com> 3.3.2-13
- Add systemd macros for presets. Fixes bug #850320