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.
2 parents bc9258f + 74da723 commit b63df8aCopy full SHA for b63df8a
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