From b1c3fe8675bf6d6831b2d63adb42dc43ef96f69e Mon Sep 17 00:00:00 2001 From: Florian La Roche Date: Wed, 26 Jun 2002 09:02:16 +0000 Subject: - start cleaning up some sh coding things --- service | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'service') 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) -- cgit v1.2.1