mirror of https://github.com/apache/cloudstack.git
netcat is not to be interpreted by shell
reviewed-by: Talluri
This commit is contained in:
parent
e08ea83a60
commit
ab9257c91b
|
|
@ -45,7 +45,7 @@ if [[ $ostypeid == "" ]]; then
|
|||
exit 2
|
||||
fi
|
||||
|
||||
$(nc -z $MGMT_SVR 8096)
|
||||
nc -z $MGMT_SVR 8096
|
||||
if [[ $? -ne 0 ]]; then
|
||||
echo "$MGMT_SVR doesn't have port 8096 open"
|
||||
exit 2
|
||||
|
|
|
|||
Loading…
Reference in New Issue