checkbashisms: clean up export statements.

Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
This commit is contained in:
Robin H. Johnson
2012-11-07 00:22:33 +00:00
parent 3809eac54d
commit 1b0130961e
13 changed files with 24 additions and 20 deletions

View File

@@ -18,7 +18,8 @@ fi
# Re-enter the init script to stop any dependant services
if [ -x "${RC_SERVICE}" ]; then
if "${RC_SERVICE}" --quiet status; then
export IN_BACKGROUND=YES
IN_BACKGROUND=YES
export IN_BACKGROUND
"${RC_SERVICE}" --quiet stop
fi
fi

View File

@@ -64,7 +64,8 @@ fi
# Re-enter the init script to start any dependant services
if [ -x "${RC_SERVICE}" ]; then
if ! "${RC_SERVICE}" --quiet status; then
export IN_BACKGROUND=true
IN_BACKGROUND=YES
export IN_BACKGROUND
"${RC_SERVICE}" --quiet start
fi
fi