diff options
author | Chuck Short <zulcss@ubuntu.com> | 2009-04-08 18:01:15 +0100 |
---|---|---|
committer | Bazaar Package Importer <jamesw@ubuntu.com> | 2009-04-08 18:01:15 +0100 |
commit | c8edc989063e6e14d04bd9c78b2f96537a988ef1 (patch) | |
tree | 9931b1bd31499ec47207e0c595c9e7bd4673a803 /ec2-run-user-data.py | |
parent | c3ba031b7feb74bfbaf54fd73b599c95ed0df765 (diff) | |
download | vyos-cloud-init-c8edc989063e6e14d04bd9c78b2f96537a988ef1.tar.gz vyos-cloud-init-c8edc989063e6e14d04bd9c78b2f96537a988ef1.zip |
ec2-run-user-data.py: Fix error.
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) |