mirror of
https://github.com/house-of-vanity/Wireguard-Peer-Manager.git
synced 2025-07-07 09:44:07 +00:00
fix
This commit is contained in:
2
gen.py
2
gen.py
@ -168,7 +168,7 @@ def wg_if_status(config="all"):
|
|||||||
else:
|
else:
|
||||||
pass
|
pass
|
||||||
for interface in set(wg_state):
|
for interface in set(wg_state):
|
||||||
cmd = ["systemctl", "show", f"wg-quick@{interface}", "--property", "InactiveEnterTimestamp"]
|
cmd = ["systemctl", "show", f"wg-quick@{interface}", "--property", "ActiveEnterTimestamp"]
|
||||||
proc = Popen(cmd,
|
proc = Popen(cmd,
|
||||||
stdout=PIPE,
|
stdout=PIPE,
|
||||||
stderr=PIPE,
|
stderr=PIPE,
|
||||||
|
Reference in New Issue
Block a user