Browse Source

Dang type-o

pull/834/head
cedarlug 9 years ago
parent
commit
570002cfce
  1. 2
      lgsm/functions/command_stop.sh

2
lgsm/functions/command_stop.sh

@ -173,7 +173,7 @@ fn_stop_ark(){
fi
if [[ ${#queryport} -gt 0 ]] ; then
for (( pidcheck=0 ; pidcheck < ${MADPIDITER} ; pidcheck++ )) ; do
for (( pidcheck=0 ; pidcheck < ${MAXPIDITER} ; pidcheck++ )) ; do
pid=$(netstat -nap 2>/dev/null | grep ^udp[[:space:]] |\
grep :${queryport}[[:space:]] | rev | awk '{print $1}' |\
rev | cut -d\/ -f1)

Loading…
Cancel
Save