summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Campbell <zlg@gentoo.org>2016-11-20 02:17:29 -0800
committerDaniel Campbell <zlg@gentoo.org>2016-11-20 02:17:56 -0800
commit258e3475e0eda930f424d3141cb3ba9fc0f87a9a (patch)
tree6669d1fdbacf6433502958ab0798c2ec4053fe2a /www-servers/lighttpd
parentsys-devel/clang-runtime: Add multilib propagation flags (diff)
downloadgentoo-258e3475e0eda930f424d3141cb3ba9fc0f87a9a.tar.gz
gentoo-258e3475e0eda930f424d3141cb3ba9fc0f87a9a.tar.bz2
gentoo-258e3475e0eda930f424d3141cb3ba9fc0f87a9a.zip
www-servers/lighttpd: Prevent hang in initd
Prevents a hang on read-only filesystems, fixing bug 598468 Thanks, Marek Behun! Gentoo-Bug: 598468 Gentoo-Bug-URL: https://bugs.gentoo.org/598468 Package-Manager: portage-2.3.2
Diffstat (limited to 'www-servers/lighttpd')
-rw-r--r--www-servers/lighttpd/files/lighttpd.initd2
1 files changed, 1 insertions, 1 deletions
diff --git a/www-servers/lighttpd/files/lighttpd.initd b/www-servers/lighttpd/files/lighttpd.initd
index e345f726f9bd..1a4fa561e16b 100644
--- a/www-servers/lighttpd/files/lighttpd.initd
+++ b/www-servers/lighttpd/files/lighttpd.initd
@@ -5,7 +5,7 @@
extra_started_commands="reload graceful"
-LIGHTTPD_PID="$($(which lighttpd) -pf ${LIGHTTPD_CONF} | grep pid | cut -d '=' -f 2 | tr -d \\\" | tr -d [:space:])"
+LIGHTTPD_PID="$(grep pid ${LIGHTTPD_CONF} | cut -d '=' -f 2 | tr -d \\\" | tr -d [:space:])"
depend() {
need net