summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Olexa <darkside@gentoo.org>2008-10-28 13:04:57 +0000
committerJeremy Olexa <darkside@gentoo.org>2008-10-28 13:04:57 +0000
commitedd5ade8398b7bdc25a6a80850eee070419befa7 (patch)
tree91d3b551bf4367b5aa4d6d8f7d7eaf9c994500ce /sys-apps/preload
parentAdd patch for building with --as-needed (upstream bug #7391). (diff)
downloadgentoo-2-edd5ade8398b7bdc25a6a80850eee070419befa7.tar.gz
gentoo-2-edd5ade8398b7bdc25a6a80850eee070419befa7.tar.bz2
gentoo-2-edd5ade8398b7bdc25a6a80850eee070419befa7.zip
sys-apps/preload - fix another bashisms. bug #244491
(Portage version: 2.2_rc12/cvs/Linux 2.6.27-git6 x86_64)
Diffstat (limited to 'sys-apps/preload')
-rw-r--r--sys-apps/preload/ChangeLog5
-rw-r--r--sys-apps/preload/files/init.d-preload4
2 files changed, 6 insertions, 3 deletions
diff --git a/sys-apps/preload/ChangeLog b/sys-apps/preload/ChangeLog
index 6249e86345c4..f987104cf7cf 100644
--- a/sys-apps/preload/ChangeLog
+++ b/sys-apps/preload/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for sys-apps/preload
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/preload/ChangeLog,v 1.7 2008/10/28 02:02:14 darkside Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/preload/ChangeLog,v 1.8 2008/10/28 13:04:57 darkside Exp $
+
+ 28 Oct 2008; Jeremy Olexa <darkside@gentoo.org> files/init.d-preload:
+ sys-apps/preload - fix another bashisms. bug #244491
*preload-0.6.3-r5 (28 Oct 2008)
diff --git a/sys-apps/preload/files/init.d-preload b/sys-apps/preload/files/init.d-preload
index 1846adb39b8b..33890ae87cf8 100644
--- a/sys-apps/preload/files/init.d-preload
+++ b/sys-apps/preload/files/init.d-preload
@@ -1,7 +1,7 @@
#!/sbin/runscript
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/preload/files/init.d-preload,v 1.5 2008/10/28 02:02:14 darkside Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/preload/files/init.d-preload,v 1.6 2008/10/28 13:04:57 darkside Exp $
depend() {
after localmount xdm
@@ -17,7 +17,7 @@ start() {
IONICE="$(command -v ionice)"
if [ -x "${IONICE}" -a -n "${IONICE_OPTS}" ]; then
einfo "ionicing preload"
- "${IONICE}" "${IONICE_OPTS}" -p $(<${PIDFILE})
+ "${IONICE}" "${IONICE_OPTS}" -p $(cat ${PIDFILE})
fi
eend $?
}