Ignore:
Timestamp:
May 17, 2014, 6:14:22 PM (11 years ago)
Author:
alloc
Message:

Minor cleanups

File:
1 edited

Legend:

Unmodified
Added
Removed
  • scripts/usr/local/bin/7dtd-instances.sh

    r14 r16  
    1414        echo ${line// /-}
    1515        for I in $(getInstanceList); do
    16                 run=$(isRunning $I)
    17                 if [ $run -eq 1 ]; then
     16                if [ $(isRunning $I) -eq 1 ]; then
    1817                        run="yes"
    1918                        tel=$(telnetCommand $I lp)
     
    4443        echo
    4544
    46         res=$(isRunning $1)
    47         if [ $res -eq 1 ]; then
     45        if [ $(isRunning $1) -eq 1 ]; then
    4846                echo "Status: Running"
    4947                echo "Open ports:"
Note: See TracChangeset for help on using the changeset viewer.