* usr/lib/byobu/.shutil:

- quiet printing of metadata service test
This commit is contained in:
Dustin Kirkland 2011-06-29 01:54:11 +00:00
commit 4412e38ba7
2 changed files with 3 additions and 1 deletions

2
debian/changelog vendored
View file

@ -48,6 +48,8 @@ byobu (4.17-0ubuntu1) oneiric; urgency=low
- fix up a few more $HOME/.$PKG refs to $BYOBU_CONFIG_DIR - fix up a few more $HOME/.$PKG refs to $BYOBU_CONFIG_DIR
* usr/bin/byobu-janitor, usr/lib/byobu/.constants: * usr/bin/byobu-janitor, usr/lib/byobu/.constants:
- LP: #553105, #780081: support XDG user dirs - LP: #553105, #780081: support XDG user dirs
* usr/lib/byobu/.shutil:
- quiet printing of metadata service test
-- Dustin Kirkland <kirkland@ubuntu.com> Mon, 27 Jun 2011 14:14:17 +0000 -- Dustin Kirkland <kirkland@ubuntu.com> Mon, 27 Jun 2011 14:14:17 +0000

View file

@ -109,7 +109,7 @@ metadata_available() {
# if a metadata service is available, that does NOT slow down non-ec2 # if a metadata service is available, that does NOT slow down non-ec2
# machines. # machines.
if grep -qs "^domain ec2.internal" /etc/resolv.conf; then if grep -qs "^domain ec2.internal" /etc/resolv.conf; then
wget -q -O- --timeout=1 http://169.254.169.254 wget -q -O- --timeout=1 http://169.254.169.254 >/dev/null 2>&1
else else
false false
fi fi