typo in my ping call

This commit is contained in:
Vishvananda Ishaya
2010-06-24 04:11:58 +01:00
committed by andy
parent 4fb44e9d9e
commit 97c372a3fe
+1 -1
View File
@@ -47,7 +47,7 @@ class VpnCommands(object):
vpn = self.__vpn_for(project.id)
if vpn:
out, err = utils.execute("ping -c1 -w1 %s > /dev/null; echo $?", vpn['private_dns_name'])
out, err = utils.execute("ping -c1 -w1 %s > /dev/null; echo $?" % vpn['private_dns_name'])
if out.strip() == '0':
net = 'up'
else: