We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4253aa1 commit 74da723Copy full SHA for 74da723
1 file changed
OpenBCI_GUI/TopNav.pde
@@ -441,7 +441,7 @@ class TopNav {
441
//Load data from the latest release page from Github and the info.plist file
442
void loadGUIVersionData() {
443
try {
444
- Process process = java.lang.Runtime.getRuntime().exec("ping www.github.com");
+ Process process = java.lang.Runtime.getRuntime().exec("ping -c 1 www.github.com");
445
internetIsConnected = (process.waitFor() == 0) ? true : false;
446
} catch (Exception e) {
447
println("TopNav::loadGUIVersionData: Exception " + e.getMessage());
0 commit comments