diff options
Diffstat (limited to 'ec2-run-user-data.py')
-rwxr-xr-x | ec2-run-user-data.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ec2-run-user-data.py b/ec2-run-user-data.py index ef3b86b1..513c64ff 100755 --- a/ec2-run-user-data.py +++ b/ec2-run-user-data.py @@ -35,7 +35,7 @@ def checkServer(): address = '169.254.169.254' port = 80 s.connect((address,port)) - except socket.error, 0: + except socket.error, e: print "!!!! Unable to connect to %s" % address sys.exit(0) |