Skip to content

Commit

Permalink
Merge pull request #172 from justdave/issue171
Browse files Browse the repository at this point in the history
amavis-milter: initscript status fix
  • Loading branch information
dfateyev committed May 23, 2012
2 parents 6ec6a5f + 554bd8d commit 962a3cc
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions specs/amavisd-new/amavisd-new.spec
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
Summary: Mail virus-scanner
Name: amavisd-new
Version: 2.6.6
Release: 2%{?dist}
Release: 3%{?dist}
License: GPL
Group: System Environment/Daemons
URL: http://www.ijs.si/software/amavisd/
Expand Down Expand Up @@ -262,7 +262,9 @@ case "$1" in
;;
status)
status $prog
status $prog2
if [ "$MILTER_SOCKET" -a -x "%{_sbindir}/$prog2" ]; then
status $prog2
fi
RETVAL=$?
;;
*)
Expand Down Expand Up @@ -494,6 +496,10 @@ fi
%{_sbindir}/amavisd-snmp-subagent

%changelog
* Tue May 22 2012 Dave Miller <justdave@mozilla.com> - 2.6.6-3
- initscript status command shouldn't fail if amavis-milter isn't configured
(issue 171)

* Sun Jan 15 2012 David Hrbáč <david@hrbac.cz> - 2.6.6-2
- first attempt to fix EL6 build

Expand Down

0 comments on commit 962a3cc

Please sign in to comment.