Skip to content

Commit

Permalink
Fix: Correct internet connection check logic
Browse files Browse the repository at this point in the history
- Fixed the internet connection check logic during initialization.
- Updated log message for failed internet connection check to be accurate and instructive.
Closes #1
  • Loading branch information
vincentberry authored Jul 5, 2024
1 parent fcc9f74 commit 3f69d51
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ddns_update.php
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ function checkInternetConnection()
}

//vérification de la connection internet
if (checkInternetConnection()) {
if (!checkInternetConnection()) {
writeToLog("❌ Fatal : Veuillez vérifier votre connexion Internet pour l'initialisation.\n");
die("⛔ Done !");
}
Expand Down

0 comments on commit 3f69d51

Please sign in to comment.