do not print error when NetworkManager is not installed (#916456)

This commit is contained in:
Michal Hlavinka 2013-02-28 09:47:32 +01:00
parent ad771a9d2a
commit bb6a8ab18e
2 changed files with 5 additions and 2 deletions

View File

@ -3,7 +3,7 @@ Name: dovecot
Epoch: 1 Epoch: 1
Version: 2.2 Version: 2.2
%global prever .rc2 %global prever .rc2
Release: 0%{?dist}.1 Release: 0%{?dist}.2
#dovecot itself is MIT, a few sources are PD, pigeonhole is LGPLv2 #dovecot itself is MIT, a few sources are PD, pigeonhole is LGPLv2
License: MIT and LGPLv2 License: MIT and LGPLv2
Group: System Environment/Daemons Group: System Environment/Daemons
@ -479,6 +479,9 @@ make check
%{_libdir}/%{name}/dict/libdriver_pgsql.so %{_libdir}/%{name}/dict/libdriver_pgsql.so
%changelog %changelog
* Thu Feb 28 2013 Michal Hlavinka <mhlavink@redhat.com> - 1:2.2-0.2
- do not print error when NetworkManager is not installed (#916456)
* Wed Feb 27 2013 Michal Hlavinka <mhlavink@redhat.com> - 1:2.2-0.1 * Wed Feb 27 2013 Michal Hlavinka <mhlavink@redhat.com> - 1:2.2-0.1
- major update to dovecot 2.2 RC2 - major update to dovecot 2.2 RC2

View File

@ -1,3 +1,3 @@
#!/bin/sh #!/bin/sh
/bin/systemctl -q is-enabled NetworkManager.service && /usr/bin/nm-online -q --timeout 30 ||: /bin/systemctl -q is-enabled NetworkManager.service >/dev/null 2>&1 && /usr/bin/nm-online -q --timeout 30 ||: