freebsd-ports/audio/py-pyradio/files/patch-pyradio_ping.py
Nicola Vitale 14437c733a
audio/py-pyradio: Update to 0.9.3.11.4
Release changes:	https://github.com/coderholic/pyradio/releases/tag/0.9.3.11.4
Reported by:	Spiros Georgaras <notifications@github.com>
2025-01-19 14:04:04 +01:00

11 lines
408 B
Python

--- pyradio/ping.py.orig 2025-01-18 18:10:46 UTC
+++ pyradio/ping.py
@@ -42,7 +42,7 @@ def linux_ping(server, count=1, timeout_in_seconds=1):
'''
try:
r = subprocess.Popen(
- ['ping', '-c', str(count), '-w',
+ ['ping', '-c', str(count), '-t',
str(timeout_in_seconds), server],
stderr=subprocess.DEVNULL,
stdout=subprocess.PIPE