aboutsummaryrefslogtreecommitdiffstats
path: root/service
diff options
context:
space:
mode:
authorFlorian La Roche <laroche@redhat.com>2002-06-26 09:02:16 +0000
committerFlorian La Roche <laroche@redhat.com>2002-06-26 09:02:16 +0000
commitb1c3fe8675bf6d6831b2d63adb42dc43ef96f69e (patch)
tree4298e55eca3bc8b767ae7cf695261cd119d75712 /service
parenta12d5004ebd0035494247f71c5cebc060729c569 (diff)
downloadinitscripts-b1c3fe8675bf6d6831b2d63adb42dc43ef96f69e.tar
initscripts-b1c3fe8675bf6d6831b2d63adb42dc43ef96f69e.tar.gz
initscripts-b1c3fe8675bf6d6831b2d63adb42dc43ef96f69e.tar.bz2
initscripts-b1c3fe8675bf6d6831b2d63adb42dc43ef96f69e.tar.xz
initscripts-b1c3fe8675bf6d6831b2d63adb42dc43ef96f69e.zip
- start cleaning up some sh coding things
Diffstat (limited to 'service')
-rwxr-xr-xservice5
1 files changed, 2 insertions, 3 deletions
diff --git a/service b/service
index 3f5e71a0..f5a3406d 100755
--- a/service
+++ b/service
@@ -12,8 +12,7 @@ if [ $# -eq 0 ]; then
fi
cd /
-while [ $# -gt 0 ]
-do
+while [ $# -gt 0 ]; do
case "${1}" in
--help | -h | --h* )
echo $"${USAGE}" >&2
@@ -26,7 +25,7 @@ do
*)
if [ -z "${SERVICE}" -a $# -eq 1 -a "${1}" = "--status-all" ]; then
cd /
- for SERVICE in *; do
+ for SERVICE in * ; do
case "${SERVICE}" in
functions | halt | killall | single| linuxconf| kudzu | \
*rpmorig | *rpmnew | *rpmsave | *~ | *.orig)