diff options
author | Jeroen Roovers <jer@gentoo.org> | 2011-10-17 14:48:04 +0000 |
---|---|---|
committer | Jeroen Roovers <jer@gentoo.org> | 2011-10-17 14:48:04 +0000 |
commit | f8f37112fc26c1651b70d25f1365c3e54e81a362 (patch) | |
tree | c655012c065e0065f9ad6e426e2919ca71a1402a /net-analyzer/vnstat/files | |
parent | Fix building with libpng15 wrt #387393 by Jakub Paluszak (diff) | |
download | historical-f8f37112fc26c1651b70d25f1365c3e54e81a362.tar.gz historical-f8f37112fc26c1651b70d25f1365c3e54e81a362.tar.bz2 historical-f8f37112fc26c1651b70d25f1365c3e54e81a362.zip |
Run checkpath on the directory itself, not its parent.
Package-Manager: portage-2.2.0_alpha67/cvs/Linux x86_64
Diffstat (limited to 'net-analyzer/vnstat/files')
-rw-r--r-- | net-analyzer/vnstat/files/vnstatd.initd | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net-analyzer/vnstat/files/vnstatd.initd b/net-analyzer/vnstat/files/vnstatd.initd index 598eedc185fb..75478b4eda7e 100644 --- a/net-analyzer/vnstat/files/vnstatd.initd +++ b/net-analyzer/vnstat/files/vnstatd.initd @@ -1,7 +1,7 @@ #!/sbin/runscript # Copyright 1999-2011 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-analyzer/vnstat/files/vnstatd.initd,v 1.3 2011/09/04 17:54:49 jer Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/vnstat/files/vnstatd.initd,v 1.4 2011/10/17 14:48:04 jer Exp $ opts="reload" @@ -13,7 +13,7 @@ VNSTATD_PIDFILE="${VNSTATD_PIDFILE:-/var/run/vnstatd/vnstatd.pid}" start() { ebegin "Starting vnstatd" - checkpath -q -d -m 755 -o vnstat:vnstat $( dirname /var/run/vnstatd ) + checkpath -q -d -m 755 -o vnstat:vnstat /var/run/vnstatd start-stop-daemon --start --quiet \ --pidfile "${VNSTATD_PIDFILE}" \ --user vnstat --group vnstat \ |