nm-dispacher: don't block the connection activation (#1237070)

Just trigger the restart, we don't care about the error status anyway.
This commit is contained in:
Lubomir Rintel 2015-06-30 12:17:54 +02:00
parent 2c911c48fa
commit 5646875a34
2 changed files with 6 additions and 2 deletions

View File

@ -2,6 +2,6 @@
case "$2" in
up|down|vpn-up|vpn-down)
/bin/systemctl try-restart sendmail.service || :
/bin/systemctl --no-block try-restart sendmail.service || :
;;
esac

View File

@ -21,7 +21,7 @@
Summary: A widely used Mail Transport Agent (MTA)
Name: sendmail
Version: 8.15.2
Release: 1%{?dist}
Release: 2%{?dist}
License: Sendmail
Group: System Environment/Daemons
URL: http://www.sendmail.org/
@ -701,6 +701,10 @@ fi
%endif
%changelog
* Wed Jul 22 2015 Lubomir Rintel <lkundrak@v3.sk> - 8.15.2-2
- nm-dispacher: don't block the connection activation
Resolves: rhbz#1237070
* Tue Jul 7 2015 Jaroslav Škarvada <jskarvad@redhat.com> - 8.15.2-1
- New version
Resolves: rhbz#1239185