mirror of
https://github.com/eliasstepanik/ark-ac-server-tools.git
synced 2026-01-26 16:28:28 +00:00
Fix error in MultiHome support
This commit is contained in:
parent
60ed29322b
commit
9dc9b34eac
@ -390,7 +390,7 @@ function isTheServerRunning(){
|
|||||||
#
|
#
|
||||||
#
|
#
|
||||||
function isTheServerUp(){
|
function isTheServerUp(){
|
||||||
$lsof -i "udp@${ark_MultiHome}:${ark_Port}" > /dev/null
|
$lsof -i "${ark_MultiHome:+udp@}${ark_MultiHome}:${ark_Port}" > /dev/null
|
||||||
result=$?
|
result=$?
|
||||||
if [ $result -ne 0 ]; then
|
if [ $result -ne 0 ]; then
|
||||||
perl -MSocket -MFcntl -e '
|
perl -MSocket -MFcntl -e '
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user