diff options
author | Bibiko <bibiko@eva.mpg.de> | 2011-01-21 15:53:07 +0000 |
---|---|---|
committer | Bibiko <bibiko@eva.mpg.de> | 2011-01-21 15:53:07 +0000 |
commit | 1e346a2cb316886baaa516ebda9142a9b556446b (patch) | |
tree | ba34bc8aec80036e4eda9ecb800fb192805f5d5d /SharedSupport | |
parent | 0870d91feccb241d1e8f186a48c3a83d3b26a1ed (diff) | |
download | sequelpro-1e346a2cb316886baaa516ebda9142a9b556446b.tar.gz sequelpro-1e346a2cb316886baaa516ebda9142a9b556446b.tar.bz2 sequelpro-1e346a2cb316886baaa516ebda9142a9b556446b.zip |
• updated syntax highlighting and completion suggestions due to 5.5 additions
• improved "Format SQL" connection detection
Diffstat (limited to 'SharedSupport')
-rw-r--r-- | SharedSupport/Default Bundles/Format SQL.spBundle/command.plist | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/SharedSupport/Default Bundles/Format SQL.spBundle/command.plist b/SharedSupport/Default Bundles/Format SQL.spBundle/command.plist index c9458332..13e86145 100644 --- a/SharedSupport/Default Bundles/Format SQL.spBundle/command.plist +++ b/SharedSupport/Default Bundles/Format SQL.spBundle/command.plist @@ -17,7 +17,7 @@ if [ -z "$SQL" ]; then fi # check if connected to the internet and if server is up -connected=$(/sbin/ping -t 5 -c 1 -on www.dpriver.com 2> /dev/null | grep 'icmp' | wc -l) +connected=$(/sbin/ping -t 8 -c 1 -on www.dpriver.com 2> /dev/null | grep '69\.5\.11\.169' | wc -l) if [ $connected -eq "0" ]; then echo "<font color=red>You are probably not connected to the internet or http://www.dpriver.com/ server is down.</font>" exit $SP_BUNDLE_EXIT_SHOW_AS_HTML_TOOLTIP |