[vnstat] fixed "/usr/sbin/vnstat.cron is incorrect" (#919157)

Adrian Reber adrian at fedoraproject.org
Thu Mar 7 19:02:15 UTC 2013


commit b8a9a29223892cfbfa9240288762f3f10942d578
Author: Adrian Reber <adrian at lisas.de>
Date:   Thu Mar 7 20:02:08 2013 +0100

    fixed "/usr/sbin/vnstat.cron is incorrect" (#919157)

 vnstat.spec |    7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)
---
diff --git a/vnstat.spec b/vnstat.spec
index 2143d8f..be1236a 100644
--- a/vnstat.spec
+++ b/vnstat.spec
@@ -1,7 +1,7 @@
 Summary: Console-based network traffic monitor
 Name: vnstat
 Version: 1.11
-Release: 12%{?dist}
+Release: 13%{?dist}
 
 License: GPLv2
 Group: System Environment/Daemons
@@ -97,7 +97,7 @@ END
 
 VNSTAT_CONF=%{_sysconfdir}/sysconfig/%{name}
 
-if [ ! -f $VNSTAT_CONF ]; then
+if [ ! -f \$VNSTAT_CONF ]; then
   exit 0
 fi
 
@@ -156,6 +156,9 @@ getent passwd %{name} > /dev/null || %{_sbindir}/useradd -r -g %{name} -M \
 %attr(-,vnstat,vnstat)%{_localstatedir}/lib/%{name}
 
 %changelog
+* Thu Mar 07 2013 Adrian Reber <adrian at lisas.de> - 1.11-13
+- fixed "/usr/sbin/vnstat.cron is incorrect" (#919157)
+
 * Fri Feb 15 2013 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.11-12
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
 


More information about the scm-commits mailing list