Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ping -w does not work on recent MacOS #1

Open
hasnolen opened this issue Jan 10, 2023 · 0 comments
Open

ping -w does not work on recent MacOS #1

hasnolen opened this issue Jan 10, 2023 · 0 comments

Comments

@hasnolen
Copy link

There's no -w flag on MacOS macOS 13.0 22A380 arm6, so it was breaking. I had to make this change:

diff --git a/rugmi b/rugmi
index 93af56b..46428bd 100755
@@ -253,7 +253,7 @@ print_link() {
 
 # Ping imgur.
 ping_imgur() {
-    ping -c1 -w2 imgur.com >/dev/null 2>&1
+    ping -c1 imgur.com >/dev/null 2>&1
 }
 
 # Check if the requested link type is valid.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant