summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Popov <pinkbyte@gentoo.org>2012-12-25 20:39:53 +0000
committerSergey Popov <pinkbyte@gentoo.org>2012-12-25 20:39:53 +0000
commit995aa00f39b6938a0d32973a8015f3fa069c94c4 (patch)
tree3203998df9e2a4c897493b57320505af9d689907 /net-im/err/files
parent[bump] dev-perl/crypt-cbc-2.320.0 (diff)
downloadgentoo-2-995aa00f39b6938a0d32973a8015f3fa069c94c4.tar.gz
gentoo-2-995aa00f39b6938a0d32973a8015f3fa069c94c4.tar.bz2
gentoo-2-995aa00f39b6938a0d32973a8015f3fa069c94c4.zip
Fix pid directory detection, revision bump, drop old revisions wrt bug #448498
(Portage version: 2.2.0_alpha144/cvs/Linux x86_64, unsigned Manifest commit)
Diffstat (limited to 'net-im/err/files')
-rw-r--r--net-im/err/files/errd.initd3
1 files changed, 1 insertions, 2 deletions
diff --git a/net-im/err/files/errd.initd b/net-im/err/files/errd.initd
index 194624e705dc..053f92fd16ed 100644
--- a/net-im/err/files/errd.initd
+++ b/net-im/err/files/errd.initd
@@ -8,8 +8,7 @@ depend() {
start() {
# create piddir if necessary, bug #448498
- local piddir
- piddir="/var/run/err"
+ local piddir=$(dirname ${ERR_PID_FILE})
checkpath -q -d -o err:err -m 0770 "${piddir}" || {
eend 1
return 1