aboutsummaryrefslogtreecommitdiffstats
path: root/SharedSupport/Default Bundles/Format SQL.spBundle
diff options
context:
space:
mode:
authorBibiko <bibiko@eva.mpg.de>2011-01-21 15:53:07 +0000
committerBibiko <bibiko@eva.mpg.de>2011-01-21 15:53:07 +0000
commit1e346a2cb316886baaa516ebda9142a9b556446b (patch)
treeba34bc8aec80036e4eda9ecb800fb192805f5d5d /SharedSupport/Default Bundles/Format SQL.spBundle
parent0870d91feccb241d1e8f186a48c3a83d3b26a1ed (diff)
downloadsequelpro-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/Default Bundles/Format SQL.spBundle')
-rw-r--r--SharedSupport/Default Bundles/Format SQL.spBundle/command.plist2
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&gt; /dev/null | grep 'icmp' | wc -l)
+connected=$(/sbin/ping -t 8 -c 1 -on www.dpriver.com 2&gt; /dev/null | grep '69\.5\.11\.169' | wc -l)
if [ $connected -eq "0" ]; then
echo "&lt;font color=red&gt;You are probably not connected to the internet or http://www.dpriver.com/ server is down.&lt;/font&gt;"
exit $SP_BUNDLE_EXIT_SHOW_AS_HTML_TOOLTIP