aboutsummaryrefslogtreecommitdiffstats
path: root/service
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>2001-01-23 19:59:11 +0000
committerBill Nottingham <notting@redhat.com>2001-01-23 19:59:11 +0000
commita4a25465cd2844d72bf518188b813c009450f505 (patch)
tree25ca5df7db282aa4202813aba3c0e18083927c25 /service
parentbee84f538da8b1d5885975c119bfd7fd5ae7e9a3 (diff)
downloadinitscripts-a4a25465cd2844d72bf518188b813c009450f505.tar
initscripts-a4a25465cd2844d72bf518188b813c009450f505.tar.gz
initscripts-a4a25465cd2844d72bf518188b813c009450f505.tar.bz2
initscripts-a4a25465cd2844d72bf518188b813c009450f505.tar.xz
initscripts-a4a25465cd2844d72bf518188b813c009450f505.zip
change i18n stuff around; don't call gettext explicitly, just do echo $"some string"
Diffstat (limited to 'service')
-rwxr-xr-xservice8
1 files changed, 4 insertions, 4 deletions
diff --git a/service b/service
index 67fb3592..38d54a25 100755
--- a/service
+++ b/service
@@ -7,7 +7,7 @@ SERVICE=
SERVICEDIR="/etc/init.d"
if [ $# -eq 0 ]; then
- echo "${USAGE}" >&2
+ echo $"${USAGE}" >&2
exit 1
fi
@@ -15,11 +15,11 @@ while [ $# -gt 0 ]
do
case "${1}" in
--help | -h | --h* )
- echo "${USAGE}" >&2
+ echo $"${USAGE}" >&2
exit 0
;;
--version | -V )
- echo "${VERSION}" >&2
+ echo $"${VERSION}" >&2
exit 0
;;
*)
@@ -59,6 +59,6 @@ done
if [ -x "${SERVICEDIR}/${SERVICE}" ]; then
"${SERVICEDIR}/${SERVICE}" ${OPTIONS}
else
- echo "${SERVICE}: unrecognized service" >&2
+ echo $"${SERVICE}: unrecognized service" >&2
exit 1
fi