From 2c006bb111ec6557b9046ff1e84a143032b60e5f Mon Sep 17 00:00:00 2001 From: Jeroen Roovers Date: Mon, 17 Oct 2011 14:48:04 +0000 Subject: Run checkpath on the directory itself, not its parent. (Portage version: 2.2.0_alpha67/cvs/Linux x86_64) --- net-analyzer/vnstat/files/vnstatd.initd | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'net-analyzer/vnstat/files') 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 \ -- cgit v1.2.3-65-gdbad