Catch scriptlet errors in preun

This commit is contained in:
Nick Bebout 2012-01-24 19:10:21 -06:00
parent 97507d9a7f
commit bf0dd5f667
1 changed files with 2 additions and 2 deletions

View File

@ -186,8 +186,8 @@ fi
%if !%{use_systemd}
if [ $1 -eq 0 ] ; then
/sbin/service znc stop >/dev/null 2>&1
/sbin/chkconfig --del znc
/sbin/service znc stop >/dev/null 2>&1 || :
/sbin/chkconfig --del znc || :
fi
%endif