Fixing a syntax error in pakfire's functions.sh.

git-svn-id: http://svn.ipfire.org/svn/ipfire/trunk@1042 ea5c0bd1-69bd-2848-81d8-4f18e57aeed8
This commit is contained in:
ms
2007-11-01 12:26:27 +00:00
parent e61afce93c
commit 70e5098c5e
2 changed files with 6 additions and 1 deletions

View File

@@ -80,7 +80,11 @@ start_service() {
done
if [ -e "/etc/init.d/${1}" ]; then
(sleep ${DELAY} && /etc/init.d/${1} start) ${BACKGROUND}
if [ -n "${BACKGROUND}" ]; then
(sleep ${DELAY} && /etc/init.d/${1} start) &
else
sleep ${DELAY} && /etc/init.d/${1} start
fi
fi
}