~swag/armagetronad/0.2.9-sty+ct+ap-fork

« back to all changes in this revision

Viewing changes to batch/rcd_startstop.in

  • Committer: z-man
  • Date: 2007-02-01 15:41:40 UTC
  • Revision ID: svn-v3-list-QlpoOTFBWSZTWZvbKhsAAAdRgAAQABK6798QIABURMgAAaeoNT1TxT1DQbKaeobXKiyAmlWT7Y5MkdJOtXDtB7w7DOGFBHiOBxaUIu7HQyyQSvxdyRThQkJvbKhs:7d95bf1e-0414-0410-9756-b78462a59f44:armagetronad%2Fbranches%2F0.2.8%2Farmagetronad:7102
Replaced $(( )) with `expr `.

Show diffs side-by-side

added added

removed removed

Lines of Context:
42
42
        COUNT=10
43
43
        while [ ${COUNT} -gt 0 ]; do
44
44
                [ -s ${MAINPIDFILE} ] && COUNT=0 || sleep 1
45
 
                COUNT=$((COUNT-1))
 
45
                COUNT=`expr ${COUNT} - 1`
46
46
        done
47
47
        [ -s ${MAINPIDFILE} ] || return=${rc_failed}
48
48
        echo -e "${return}"