tags 478528 + patch thanks Patch attached.
Regards, -- Chris Lamb, UK [EMAIL PROTECTED] GPG: 0x634F9A20
diff -urNad chkconfig-10.3-90.orig/service chkconfig-10.3-90/service --- chkconfig-10.3-90.orig/service 2008-05-03 22:24:33.000000000 +0100 +++ chkconfig-10.3-90/service 2008-05-03 22:35:48.000000000 +0100 @@ -53,18 +53,21 @@ args="" while test $# -gt 0; do opt= - if test "${1::1}" = "-"; then - if test ${#1} -gt 2 -a "${1::2}" = "--" ; then - opt="${1:2}" - else - opt="${1:1}" - fi - shift - else - args="${args:+$args }$1" - shift - continue - fi + case "$1" in + --*) + opt="$(echo "$1" | cut -b3-)" + shift + ;; + -*) + opt="$(echo "$1" | cut -b2-)" + shift + ;; + *) + args="${args:+$args }$1" + shift + continue + ;; + esac case "$opt" in status-all|s) status_all=1 ;;
signature.asc
Description: PGP signature