mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-02-03 01:35:22 +03:00
Fix return code for timeout call
This commit is contained in:
parent
4523c9b06d
commit
39157c9774
@ -812,7 +812,8 @@ def get_intel_gpu_stats() -> dict[str, str]:
|
||||
capture_output=True,
|
||||
)
|
||||
|
||||
if p.returncode != 0:
|
||||
# timeout has a non-zero returncode when timeout is reached
|
||||
if p.returncode != 124:
|
||||
logger.error(p.stderr)
|
||||
return None
|
||||
else:
|
||||
|
||||
Loading…
Reference in New Issue
Block a user