aboutsummaryrefslogtreecommitdiffstats
path: root/service
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>2002-04-10 06:26:47 +0000
committerBill Nottingham <notting@redhat.com>2002-04-10 06:26:47 +0000
commit70e2d5d6a79aa3bc3d1d64a9c96188263807d9b8 (patch)
tree25f31a33156c53d5e570749582e7a253200d105a /service
parent8e47c57916be25330b757f7f5f2911a136db4c2e (diff)
downloadinitscripts-70e2d5d6a79aa3bc3d1d64a9c96188263807d9b8.tar
initscripts-70e2d5d6a79aa3bc3d1d64a9c96188263807d9b8.tar.gz
initscripts-70e2d5d6a79aa3bc3d1d64a9c96188263807d9b8.tar.bz2
initscripts-70e2d5d6a79aa3bc3d1d64a9c96188263807d9b8.tar.xz
initscripts-70e2d5d6a79aa3bc3d1d64a9c96188263807d9b8.zip
oops, broke translationsr6-62
Diffstat (limited to 'service')
-rwxr-xr-xservice8
1 files changed, 4 insertions, 4 deletions
diff --git a/service b/service
index e178362a..07d2b109 100755
--- a/service
+++ b/service
@@ -33,7 +33,7 @@ do
;;
*)
if [ -x "${SERVICEDIR}/${SERVICE}" ]; then
- env -i "${SERVICEDIR}/${SERVICE}" status
+ env -i LANG=$LANG "${SERVICEDIR}/${SERVICE}" status
fi
;;
esac
@@ -43,8 +43,8 @@ do
SERVICE="${1}"
cd "${SERVICEDIR}"
if [ -x "${SERVICEDIR}/${SERVICE}" ]; then
- env -i "${SERVICEDIR}/${SERVICE}" stop
- env -i "${SERVICEDIR}/${SERVICE}" start
+ env -i LANG=$LANG "${SERVICEDIR}/${SERVICE}" stop
+ env -i LANG=$LANG "${SERVICEDIR}/${SERVICE}" start
exit $?
fi
elif [ -z "${SERVICE}" ]; then
@@ -58,7 +58,7 @@ do
done
if [ -x "${SERVICEDIR}/${SERVICE}" ]; then
- env -i "${SERVICEDIR}/${SERVICE}" ${OPTIONS}
+ env -i LANG=$LANG "${SERVICEDIR}/${SERVICE}" ${OPTIONS}
else
echo $"${SERVICE}: unrecognized service" >&2
exit 1