Skip to content

Commit

Permalink
Update generate.py
Browse files Browse the repository at this point in the history
  • Loading branch information
endail authored Jun 26, 2024
1 parent 3601199 commit e9f3aea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/generate.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
if result.returncode != 0:
continue

result = subprocess.run(["ntpdig", "-j", "-t 5", endpoint], timeout=5)
result = subprocess.run(["ntpdig", "-j", "-t 5", endpoint], capture_output=True, text=True, timeout=5)
print("ntpdig success?: " + "Yes" if result.returncode == 0 else "No")

if result.returncode != 0:
Expand Down

0 comments on commit e9f3aea

Please sign in to comment.